Conventional to do includes first

This commit is contained in:
David Heinemeier Hansson
2025-11-02 18:09:30 +01:00
parent 828ac5d2c1
commit fd61b4426c
+2 -2
View File
@@ -1,8 +1,8 @@
class CollectionsController < ApplicationController
before_action :set_collection, except: %i[ new create ]
include FilterScoped
before_action :set_collection, except: %i[ new create ]
def show
if @filter.used?(ignore_collections: true)
show_filtered_cards