mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 13:46:11 +10:00
Make note anchors actually work
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -24,7 +24,8 @@ class Projects::CommitController < Projects::ApplicationController
|
||||
@line_notes = result[:line_notes]
|
||||
@branches = result[:branches]
|
||||
@notes_count = result[:notes_count]
|
||||
@target_type = :commit
|
||||
@target_type = "Commit"
|
||||
@notes = project.notes.for_commit_id(@commit.id).not_inline.fresh
|
||||
@target_id = @commit.id
|
||||
|
||||
@comments_allowed = @reply_allowed = true
|
||||
|
||||
Reference in New Issue
Block a user