Skip to content

Commit

Permalink
Use the request changes link for changes comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hellcp-work committed Jul 28, 2023
1 parent cce9fbe commit 2de44d2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -30,7 +30,7 @@
= link_to request_show_path(number: action.bs_request, request_action_id: action) do
= action.uniq_key
>
= link_to request_show_path(number: action.bs_request, request_action_id: action, anchor: comment.diff_ref) do
= link_to request_changes_path(number: action.bs_request, request_action_id: action, anchor: comment.diff_ref) do
= render(DiffSubjectComponent.new(state: diff['state'], old_filename: diff.dig('old', 'name'), new_filename: diff.dig('new', 'name')))
= render(DiffComponent.new(diff: diff.dig('diff', '_content'), range:))
.comment-bubble-content
Expand Down

0 comments on commit 2de44d2

Please sign in to comment.