Commit 9e6f4d36 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #6087 from pgolm/fix/link_to_merge_request_diff_line_note

fix: link_to_merge_request_diff_line_note
parents 0b0ba8be 427520ac
......@@ -17,7 +17,7 @@ module NotesHelper
def link_to_merge_request_diff_line_note(note)
if note.for_merge_request_diff_line? and note.diff
link_to "#{note.diff_file_name}:L#{note.diff_new_line}", diffs_project_merge_request_path(note.project, note.noteable_id, anchor: note.line_code)
link_to "#{note.diff_file_name}:L#{note.diff_new_line}", diffs_project_merge_request_path(note.project, note.noteable, anchor: note.line_code)
end
end
......
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