summaryrefslogtreecommitdiff
path: root/app/models/project_services/mattermost_slash_commands_service.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-01-23 16:44:12 +0000
committerDouwe Maan <douwe@gitlab.com>2017-01-23 16:44:12 +0000
commit30d5e9fa54e0beacfb9b28c307543ff359f17668 (patch)
treec7b321ba87d9d17d57832d3937141b7f5ef03512 /app/models/project_services/mattermost_slash_commands_service.rb
parent6c65f7a7ce52fadcf53ea2395103de32b0107874 (diff)
parent4b6e583ce0a395ec4a0dbc1a3a81680b1a0aa700 (diff)
downloadgitlab-ce-30d5e9fa54e0beacfb9b28c307543ff359f17668.tar.gz
Merge branch '22974-trigger-service-events-through-api' into 'master'
adds events to services api deserialization Closes #22974 See merge request !8324
Diffstat (limited to 'app/models/project_services/mattermost_slash_commands_service.rb')
-rw-r--r--app/models/project_services/mattermost_slash_commands_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/mattermost_slash_commands_service.rb b/app/models/project_services/mattermost_slash_commands_service.rb
index 2cb481182d7..50a011db74e 100644
--- a/app/models/project_services/mattermost_slash_commands_service.rb
+++ b/app/models/project_services/mattermost_slash_commands_service.rb
@@ -15,7 +15,7 @@ class MattermostSlashCommandsService < ChatSlashCommandsService
"Perform common operations on GitLab in Mattermost"
end
- def to_param
+ def self.to_param
'mattermost_slash_commands'
end