summaryrefslogtreecommitdiff
path: root/app/controllers/commit_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/commit_controller.rb')
-rw-r--r--app/controllers/commit_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/commit_controller.rb b/app/controllers/commit_controller.rb
index 4fbfe205d3f..1329410891d 100644
--- a/app/controllers/commit_controller.rb
+++ b/app/controllers/commit_controller.rb
@@ -23,7 +23,7 @@ class CommitController < ProjectResourceController
@comments_allowed = @reply_allowed = true
@comments_target = { noteable_type: 'Commit',
- noteable_id: @commit.id }
+ commit_id: @commit.id }
respond_to do |format|
format.html do