summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-01-04 22:32:36 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-01-04 22:32:36 +0800
commitc1a75c3c0b59af7a9e6af3ff834adf56256aa2ce (patch)
tree317d2386b055a6879eddfb3d33638d412e1f9757 /app/controllers
parent14c4db2ae4efa1187476f11569df1b77c9c055fa (diff)
downloadgitlab-ce-c1a75c3c0b59af7a9e6af3ff834adf56256aa2ce.tar.gz
Prefer leading dots over trailing dots
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7237#note_20601323
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/compare_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/compare_controller.rb b/app/controllers/projects/compare_controller.rb
index 325987199fa..d359920c91e 100644
--- a/app/controllers/projects/compare_controller.rb
+++ b/app/controllers/projects/compare_controller.rb
@@ -37,8 +37,8 @@ class Projects::CompareController < Projects::ApplicationController
end
def define_diff_vars
- @compare = CompareService.new(@project, @head_ref).
- execute(@project, @start_ref)
+ @compare = CompareService.new(@project, @head_ref)
+ .execute(@project, @start_ref)
if @compare
@commits = @compare.commits