Skip to content

Commit

Permalink
Fix notification notifiable link component
Browse files Browse the repository at this point in the history
  • Loading branch information
danidoni committed Sep 22, 2023
1 parent ef0f9a6 commit 20122be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def link_for_reportables
when 'Project'
Rails.application.routes.url_helpers.project_show_path(reportable, notification_id: @notification.id, anchor: 'comments-list')
when 'User'
Rails.application.routes.url_helpers.user_show_path(reportable, notification_id: @notification.id)
Rails.application.routes.url_helpers.user_path(reportable)
end
end

Expand Down

0 comments on commit 20122be

Please sign in to comment.