summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2016-11-21 13:43:31 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-11-21 17:58:40 +0100
commit67fde38806bd843c8008766edf49023e4c63df81 (patch)
tree0aefbe0aabdd1d57cfa6b4a0ac1afd056baa1c19 /app/models
parente74e53ae98bd7656eb84e907e25f2ad0b70afde9 (diff)
downloadgitlab-ce-67fde38806bd843c8008766edf49023e4c63df81.tar.gz
Improve the mattermost help box
Also added tests, and moved the slack test to a better location.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project_services/mattermost_slash_commands_service.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/models/project_services/mattermost_slash_commands_service.rb b/app/models/project_services/mattermost_slash_commands_service.rb
index 67902329593..33431f41dc2 100644
--- a/app/models/project_services/mattermost_slash_commands_service.rb
+++ b/app/models/project_services/mattermost_slash_commands_service.rb
@@ -19,13 +19,6 @@ class MattermostSlashCommandsService < ChatService
'mattermost_slash_commands'
end
- def help
- "This service allows you to use slash commands with your Mattermost installation.<br/>
- To setup this Service you need to create a new <b>Slash commands</b> in your Mattermost integration panel.<br/>
- <br/>
- Create integration with URL #{service_trigger_url(self)} and enter the token below."
- end
-
def fields
[
{ type: 'text', name: 'token', placeholder: '' }