Class: Spotlight::DefaultController

Inherits:
ApplicationController show all
Defined in:
app/controllers/spotlight/default_controller.rb

Instance Method Summary collapse

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

Methods included from Config

#exhibit_specific_blacklight_config

Instance Method Details

#indexObject



4
5
6
7
# File 'app/controllers/spotlight/default_controller.rb', line 4

def index
  default = Spotlight::Exhibit.default
  redirect_to exhibit_root_path(default)
end