Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-01-04 17:32:36 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-01-04 17:32:36 +0300
commitc1a75c3c0b59af7a9e6af3ff834adf56256aa2ce (patch)
tree317d2386b055a6879eddfb3d33638d412e1f9757 /app/controllers/projects/compare_controller.rb
parent14c4db2ae4efa1187476f11569df1b77c9c055fa (diff)
Prefer leading dots over trailing dots
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7237#note_20601323
Diffstat (limited to 'app/controllers/projects/compare_controller.rb')
-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