summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorDongqing Hu <sorra@outlook.com>2017-02-14 21:43:12 +0800
committerDongqing Hu <sorra@outlook.com>2017-02-14 21:43:12 +0800
commit6b64a2ca3d1cad7e2cffde4ab24970c709f6da3a (patch)
tree7eab36a2d415eb5adc652ee73227dbc7170b03fb /app/helpers
parentf802ad370e625e7aa2f3023f73c24a8b6f009821 (diff)
downloadgitlab-ce-6b64a2ca3d1cad7e2cffde4ab24970c709f6da3a.tar.gz
Don't ignore the parameter of MergeRequestsHelper#mr_change_branches_path
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/merge_requests_helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/merge_requests_helper.rb b/app/helpers/merge_requests_helper.rb
index b5f8c23a667..7d8505d704e 100644
--- a/app/helpers/merge_requests_helper.rb
+++ b/app/helpers/merge_requests_helper.rb
@@ -75,10 +75,10 @@ module MergeRequestsHelper
new_namespace_project_merge_request_path(
@project.namespace, @project,
merge_request: {
- source_project_id: @merge_request.source_project_id,
- target_project_id: @merge_request.target_project_id,
- source_branch: @merge_request.source_branch,
- target_branch: @merge_request.target_branch,
+ source_project_id: merge_request.source_project_id,
+ target_project_id: merge_request.target_project_id,
+ source_branch: merge_request.source_branch,
+ target_branch: merge_request.target_branch,
},
change_branches: true
)