diff --git a/app/views/commontator/comments/_show.html.erb b/app/views/commontator/comments/_show.html.erb index e8d5e3e9f..c87028a8e 100644 --- a/app/views/commontator/comments/_show.html.erb +++ b/app/views/commontator/comments/_show.html.erb @@ -114,7 +114,10 @@
- <%= link_to 'Submit Report', "/innovations/#{practice.id}/comments/#{comment.id}/report", class: 'usa-button report-abuse-submit', data: { confirm: 'Are you sure you want to report this comment?', turbolinks: 'false' } %> + <%= link_to 'Submit Report', + Rails.application.routes.url_helpers.report_practice_comment_path(practice_id: @practice.id, id: comment.id) , + class: 'usa-button report-abuse-submit', + data: { confirm: 'Are you sure you want to report this comment?', turbolinks: 'false' } %>