module ActiveAdmin::ResourceController::DataAccess

def find_collection(options = {})

Returns:
  • (ActiveRecord::Relation) - The collection for the index
def find_collection(options = {})
  collection = scoped_collection
  collection_applies(options).each do |applyer|
    collection = send("apply_#{applyer}", collection)
  end
  collection
end