Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/integrations/mattermost.rb')
-rw-r--r--app/models/integrations/mattermost.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/integrations/mattermost.rb b/app/models/integrations/mattermost.rb
index e3c5c22ad3a..7e391b11d82 100644
--- a/app/models/integrations/mattermost.rb
+++ b/app/models/integrations/mattermost.rb
@@ -3,6 +3,7 @@
module Integrations
class Mattermost < BaseChatNotification
include SlackMattermostNotifier
+ include SlackMattermostFields
def title
_('Mattermost notifications')
@@ -25,7 +26,7 @@ module Integrations
'my-channel'
end
- def webhook_help
+ def self.webhook_help
'http://mattermost.example.com/hooks/'
end