Conventional to do includes first
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user