Commit e5ce1668 authored by Douwe Maan's avatar Douwe Maan

Satisfy Rubocop

parent e0bb169a
...@@ -22,7 +22,7 @@ class Projects::CommitController < Projects::ApplicationController ...@@ -22,7 +22,7 @@ class Projects::CommitController < Projects::ApplicationController
@note = @project.build_commit_note(commit) @note = @project.build_commit_note(commit)
@notes = commit.notes.non_diff_notes.fresh @notes = commit.notes.non_diff_notes.fresh
@noteable = @commit @noteable = @commit
@comments_target = { @comments_target = {
noteable_type: 'Commit', noteable_type: 'Commit',
commit_id: @commit.id commit_id: @commit.id
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment