Don't repeatedly mark notifications read

This commit is contained in:
Kevin McConnell
2025-01-28 11:54:11 +00:00
parent ed17bc28ab
commit e93acb0e38
+1 -1
View File
@@ -8,6 +8,6 @@ class ReadingsController < ApplicationController
private
def mark_bubble_notifications_read
Current.user.notifications.where(bubble: @bubble).read_all
Current.user.notifications.unread.where(bubble: @bubble).read_all
end
end