summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-05-13 16:02:22 -0500
committerDouwe Maan <douwe@selenight.nl>2016-05-13 16:02:22 -0500
commitbdf30069cf948c34cc2163a5fff21fa7b25d3b41 (patch)
treeccbfed0ef96b50b57a1a1263a6c256e52be43e47
parentc9d7ff309065c09da725065dade6a232f811e9b5 (diff)
downloadgitlab-ce-refactor-diff-notes.tar.gz
Satisfy Rubocoprefactor-diff-notes
-rw-r--r--app/controllers/projects/commit_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb
index 6e02f1240fe..10b5932affa 100644
--- a/app/controllers/projects/commit_controller.rb
+++ b/app/controllers/projects/commit_controller.rb
@@ -22,7 +22,7 @@ class Projects::CommitController < Projects::ApplicationController
@note = @project.build_commit_note(commit)
@notes = commit.notes.non_diff_notes.fresh
@noteable = @commit
- @comments_target = {
+ @comments_target = {
noteable_type: 'Commit',
commit_id: @commit.id
}