summaryrefslogtreecommitdiff
path: root/app/finders
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-08-18 16:38:42 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-08-18 16:41:16 -0500
commit717366d28da11acc6dbe60301bf7e2394400b3c1 (patch)
treeba3a95c9bf1627519c00dab30562d5cd4f646857 /app/finders
parentd97c83096a70ed102f993d4c484aff9c786ca831 (diff)
parent2703330a19e813351e9c33241a59d6b7f54741df (diff)
downloadgitlab-ce-717366d28da11acc6dbe60301bf7e2394400b3c1.tar.gz
Merge branch '4273-slash-commands' into 'master'
Support slash commands in issues / MR description & comments See merge request !5021
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/todos_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/todos_finder.rb b/app/finders/todos_finder.rb
index 4fe0070552e..37bad596a16 100644
--- a/app/finders/todos_finder.rb
+++ b/app/finders/todos_finder.rb
@@ -17,7 +17,7 @@ class TodosFinder
attr_accessor :current_user, :params
- def initialize(current_user, params)
+ def initialize(current_user, params = {})
@current_user = current_user
@params = params
end