diff --git a/app/views/layouts/notifications.html.haml b/app/views/layouts/notifications.html.haml index d7c87e7e..dceb6d47 100644 --- a/app/views/layouts/notifications.html.haml +++ b/app/views/layouts/notifications.html.haml @@ -8,5 +8,5 @@ .d-block.d-sm-none= render "shared/links" :ruby - Notification.for(current_user).update_all(new: false) + Notification.for(current_user).where(new: true).update_all(new: false) parent_layout 'base'