diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-05-13 16:02:22 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-05-13 16:02:22 -0500 |
commit | bdf30069cf948c34cc2163a5fff21fa7b25d3b41 (patch) | |
tree | ccbfed0ef96b50b57a1a1263a6c256e52be43e47 | |
parent | c9d7ff309065c09da725065dade6a232f811e9b5 (diff) | |
download | gitlab-ce-refactor-diff-notes.tar.gz |
Satisfy Rubocoprefactor-diff-notes
-rw-r--r-- | app/controllers/projects/commit_controller.rb | 2 |
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 } |