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
#collection ⇒ Object
37 38 39 |
# File 'app/controllers/concerns/hyrax/collections_controller_behavior.rb', line 37 def collection action_name == 'show' ? @presenter : @collection end |
#show ⇒ Object
31 32 33 34 35 |
# File 'app/controllers/concerns/hyrax/collections_controller_behavior.rb', line 31 def show @curation_concern = @collection # we must populate curation_concern presenter query_collection_members end |