We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe1859 commit b0daaf8Copy full SHA for b0daaf8
app/controllers/better_together/notifications_controller.rb
@@ -15,7 +15,7 @@ def mark_as_read # rubocop:todo Metrics/AbcSize, Metrics/MethodLength
15
if params[:id]
16
mark_notification_as_read(params[:id])
17
elsif params[:record_id]
18
- mark_record_notification_as_read(params[:message_id])
+ mark_record_notification_as_read(params[:record_id])
19
else
20
helpers.current_person.notifications.unread.update_all(read_at: Time.current)
21
end
0 commit comments