Commit ed72e949 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Right branches for mr link at Compare view

parent f774949d
...@@ -7,6 +7,6 @@ module CompareHelper ...@@ -7,6 +7,6 @@ module CompareHelper
end end
def compare_mr_path 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
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