Skip to content

Commit b0daaf8

Browse files
committed
Adjust missing reference
1 parent efe1859 commit b0daaf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/better_together/notifications_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def mark_as_read # rubocop:todo Metrics/AbcSize, Metrics/MethodLength
1515
if params[:id]
1616
mark_notification_as_read(params[:id])
1717
elsif params[:record_id]
18-
mark_record_notification_as_read(params[:message_id])
18+
mark_record_notification_as_read(params[:record_id])
1919
else
2020
helpers.current_person.notifications.unread.update_all(read_at: Time.current)
2121
end

0 commit comments

Comments
 (0)