diff --git a/app/controllers/notifications_controller.rb b/app/controllers/notifications_controller.rb index 44dc0f604..d188e3a1e 100644 --- a/app/controllers/notifications_controller.rb +++ b/app/controllers/notifications_controller.rb @@ -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|