Module: Sufia::MyControllerBehavior
- Extended by:
- ActiveSupport::Concern
- Includes:
- Hydra::BatchEditBehavior, Hydra::Catalog
- Included in:
- MyController
- Defined in:
- app/controllers/concerns/sufia/my_controller_behavior.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'app/controllers/concerns/sufia/my_controller_behavior.rb', line 19 def index # return the user's collections @user_collections = CurationConcerns::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 |