This commit is contained in:
David Heinemeier Hansson
2025-04-16 17:12:20 +02:00
parent 96cf3af022
commit 5dc6e0394f
+1 -4
View File
@@ -1,9 +1,6 @@
class NotificationsController < ApplicationController
def index
unless current_page_param
@unread = Current.user.notifications.unread.ordered
end
@unread = Current.user.notifications.unread.ordered unless current_page_param
set_page_and_extract_portion_from Current.user.notifications.read.ordered
respond_to do |format|