Module: Hyrax::MyControllerBehavior
- Extended by:
- ActiveSupport::Concern
- Includes:
- Hydra::BatchEditBehavior, Hydra::Catalog
- Included in:
- MyController
- Defined in:
- app/controllers/concerns/hyrax/my_controller_behavior.rb
Instance Method Summary collapse
Methods included from Hydra::BatchEditBehavior
#after_destroy_collection, #after_update, #all, #check_for_empty!, #destroy_collection, #edit, #state, #update, #update_document
Instance Method Details
#index ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'app/controllers/concerns/hyrax/my_controller_behavior.rb', line 22 def index # return the user's collections @user_collections = Hyrax::CollectionsService.new(self).search_results(:edit) @user = current_user (@response, @document_list) = query_solr prepare_instance_variables_for_batch_control_display respond_to do |format| format.html {} format.rss { render layout: false } format.atom { render layout: false } end end |