Commit 657838f1 authored by Z.J. van de Weg's avatar Z.J. van de Weg

fixup! issue and mergerequest slash command for mattermost

parent 9d8ca60d
......@@ -25,7 +25,7 @@ class Project < ActiveRecord::Base
delegate :feature_available?, :builds_enabled?, :wiki_enabled?,
:merge_requests_enabled?, :issues_enabled?, to: :project_feature,
allow_nil: true
allow_nil: true
default_value_for :archived, false
default_value_for :visibility_level, gitlab_config_features.visibility_level
......
......@@ -32,7 +32,7 @@ module Mattermost
if result.respond_to?(:count)
if count > 1
#TODO
# TODO
return resource_list(result)
else
result = result.first
......
......@@ -20,7 +20,7 @@ module Mattermost
private
#TODO implement create
# TODO implement create
def subcommands
%w[creates search show]
end
......@@ -42,7 +42,7 @@ module Mattermost
subcommand = split[1]
args = split[2..-1]
return subcommand, args
[subcommand, args]
end
end
end
......
......@@ -39,7 +39,7 @@ module Mattermost
subcommand = split[1]
args = split[2..-1]
return subcommand, args
[subcommand, args]
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment