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
...@@ -32,7 +32,7 @@ module Mattermost ...@@ -32,7 +32,7 @@ module Mattermost
if result.respond_to?(:count) if result.respond_to?(:count)
if count > 1 if count > 1
#TODO # TODO
return resource_list(result) return resource_list(result)
else else
result = result.first result = result.first
......
...@@ -20,7 +20,7 @@ module Mattermost ...@@ -20,7 +20,7 @@ module Mattermost
private private
#TODO implement create # TODO implement create
def subcommands def subcommands
%w[creates search show] %w[creates search show]
end end
...@@ -42,7 +42,7 @@ module Mattermost ...@@ -42,7 +42,7 @@ module Mattermost
subcommand = split[1] subcommand = split[1]
args = split[2..-1] args = split[2..-1]
return subcommand, args [subcommand, args]
end end
end end
end end
......
...@@ -39,7 +39,7 @@ module Mattermost ...@@ -39,7 +39,7 @@ module Mattermost
subcommand = split[1] subcommand = split[1]
args = split[2..-1] args = split[2..-1]
return subcommand, args [subcommand, args]
end end
end 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