Class: Spotlight::DashboardsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Spotlight::DashboardsController
- Includes:
- Base, Catalog::AccessControlsEnforcement
- Defined in:
- app/controllers/spotlight/dashboards_controller.rb
Overview
Exhibit dashboard controller
Instance Method Summary collapse
Methods included from Base
#autocomplete_json_response, #autocomplete_json_response_for_document, #blacklight_config
Methods included from Config
#exhibit_specific_blacklight_config
Methods included from Controller
#blacklight_config, #current_exhibit, #current_masthead, #current_masthead=, #default_masthead?, #exhibit_masthead?, #exhibit_search_action_url, #exhibit_search_facet_url, #search_action_url, #search_facet_url
Instance Method Details
#_prefixes ⇒ Object
32 33 34 |
# File 'app/controllers/spotlight/dashboards_controller.rb', line 32 def _prefixes @_prefixes ||= super + ['spotlight/catalog', 'catalog'] end |
#analytics ⇒ Object
26 27 28 29 30 |
# File 'app/controllers/spotlight/dashboards_controller.rb', line 26 def analytics :curate, @exhibit end |
#show ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'app/controllers/spotlight/dashboards_controller.rb', line 17 def show :curate, @exhibit @pages = @exhibit.pages.recent.limit(5) @solr_documents = load_recent_solr_documents 5 end |