diff --git a/app/controllers/notifications/trays_controller.rb b/app/controllers/notifications/trays_controller.rb index 7c7a52bb3..4a7e9ca62 100644 --- a/app/controllers/notifications/trays_controller.rb +++ b/app/controllers/notifications/trays_controller.rb @@ -1,5 +1,7 @@ class Notifications::TraysController < ApplicationController def show @notifications = Current.user.notifications.unread.ordered.limit(100) + + fresh_when @notifications end end