Right branches for mr link at Compare view

This commit is contained in:
Dmitriy Zaporozhets 2013-09-12 20:23:03 +03:00
parent f774949d3f
commit ed72e949f2

View file

@ -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