Remove collection filtering where it's not needed

This commit is contained in:
Andy Smith
2025-08-28 12:22:48 -05:00
parent 5c42054004
commit 2036071ddd
6 changed files with 0 additions and 12 deletions
@@ -1,8 +1,6 @@
class NotificationsController < ApplicationController
include FilterScoped
enable_collection_filtering only: :index
def index
@unread = Current.user.notifications.unread.ordered unless current_page_param
set_page_and_extract_portion_from Current.user.notifications.read.ordered