Commit 54965576 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix variable order on compare page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 378a3f5c
...@@ -14,9 +14,9 @@ class Projects::CompareController < Projects::ApplicationController ...@@ -14,9 +14,9 @@ class Projects::CompareController < Projects::ApplicationController
compare_result = CompareService.new.execute( compare_result = CompareService.new.execute(
current_user, current_user,
@project, @project,
base_ref, head_ref,
@project, @project,
head_ref base_ref
) )
@commits = compare_result.commits @commits = compare_result.commits
......
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