Module: Hyrax::CollectionsControllerBehavior

Extended by:
ActiveSupport::Concern
Includes:
Blacklight::AccessControls::Catalog, Blacklight::Base
Included in:
Admin::AdminSetsController, CollectionsController
Defined in:
app/controllers/concerns/hyrax/collections_controller_behavior.rb

Instance Method Summary collapse

Instance Method Details

#collectionObject



44
45
46
# File 'app/controllers/concerns/hyrax/collections_controller_behavior.rb', line 44

def collection
  action_name == 'show' ? @presenter : @collection
end

#showObject



39
40
41
42
# File 'app/controllers/concerns/hyrax/collections_controller_behavior.rb', line 39

def show
  presenter
  query_collection_members
end