Commit c1a75c3c authored by Lin Jen-Shin's avatar Lin Jen-Shin

Prefer leading dots over trailing dots

Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7237#note_20601323
parent 14c4db2a
...@@ -37,8 +37,8 @@ class Projects::CompareController < Projects::ApplicationController ...@@ -37,8 +37,8 @@ class Projects::CompareController < Projects::ApplicationController
end end
def define_diff_vars def define_diff_vars
@compare = CompareService.new(@project, @head_ref). @compare = CompareService.new(@project, @head_ref)
execute(@project, @start_ref) .execute(@project, @start_ref)
if @compare if @compare
@commits = @compare.commits @commits = @compare.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