Right branches for mr link at Compare view
This commit is contained in:
parent
f774949d3f
commit
ed72e949f2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue