summaryrefslogtreecommitdiff
path: root/app/finders
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-09-21 18:34:32 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-10-07 11:46:23 +0200
commit7c00b53812895970fdb00cf1d27b059bb15815cd (patch)
tree42ec37cf257cd11abd8469b6fb7921bc7f204043 /app/finders
parent70716a1292ca5910908ba37a9d113c8b5a221bb7 (diff)
downloadgitlab-ce-7c00b53812895970fdb00cf1d27b059bb15815cd.tar.gz
Find branches in all projects in the fork network
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/merge_request_target_project_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/merge_request_target_project_finder.rb b/app/finders/merge_request_target_project_finder.rb
index 508b53a52c1..189eb3847eb 100644
--- a/app/finders/merge_request_target_project_finder.rb
+++ b/app/finders/merge_request_target_project_finder.rb
@@ -1,7 +1,7 @@
class MergeRequestTargetProjectFinder
attr_reader :current_user, :source_project
- def initialize(current_user: nil, source_project:, params: {})
+ def initialize(current_user: nil, source_project:)
@current_user = current_user
@source_project = source_project
end