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
1 changed files with 1 additions and 1 deletions

View File

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