diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-05-13 14:53:04 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-05-13 17:31:58 -0500 |
commit | 9a3ed265e9c82ee55bc6a17737ef6c5c2a1ad7e3 (patch) | |
tree | 61acec62171d5eb2b4d2df22ee93e1aee72d4040 /app/controllers/projects/commit_controller.rb | |
parent | 99d3e21f19ffb5cccb58fdfeac4fb6174e7e65e2 (diff) | |
download | gitlab-ce-9a3ed265e9c82ee55bc6a17737ef6c5c2a1ad7e3.tar.gz |
Use `@diff_notes_disabled` instead of `@comments_allowed`
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
-rw-r--r-- | app/controllers/projects/commit_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb index 9bcb82ef3f9..6e02f1240fe 100644 --- a/app/controllers/projects/commit_controller.rb +++ b/app/controllers/projects/commit_controller.rb @@ -22,7 +22,6 @@ class Projects::CommitController < Projects::ApplicationController @note = @project.build_commit_note(commit) @notes = commit.notes.non_diff_notes.fresh @noteable = @commit - @comments_allowed = true @comments_target = { noteable_type: 'Commit', commit_id: @commit.id |