summaryrefslogtreecommitdiff
path: root/app/helpers/compare_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-12 20:23:03 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-12 20:23:03 +0300
commited72e949f2947e26b8990aac9b8e6f3b836c85b7 (patch)
tree342b679cba05074ecb408fce2deea639b3253f76 /app/helpers/compare_helper.rb
parentf774949d3f7676f925c7fc858d462ec2400e43a2 (diff)
downloadgitlab-ce-ed72e949f2947e26b8990aac9b8e6f3b836c85b7.tar.gz
Right branches for mr link at Compare view
Diffstat (limited to 'app/helpers/compare_helper.rb')
-rw-r--r--app/helpers/compare_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/compare_helper.rb b/app/helpers/compare_helper.rb
index 55d0d6268ad..e1dd89dcd3d 100644
--- a/app/helpers/compare_helper.rb
+++ b/app/helpers/compare_helper.rb
@@ -7,6 +7,6 @@ module CompareHelper
end
def compare_mr_path
- new_project_merge_request_path(@project, merge_request: {source_branch: params[:from], target_branch: params[:to]})
+ new_project_merge_request_path(@project, merge_request: {source_branch: params[:to], target_branch: params[:from]})
end
end