Class: Spotlight::BrowseController

Inherits:
ApplicationController show all
Includes:
Blacklight::Base
Defined in:
app/controllers/spotlight/browse_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#search_action_url

Instance Method Details

#indexObject



10
11
12
# File 'app/controllers/spotlight/browse_controller.rb', line 10

def index
  @searches = @exhibit.searches.published
end

#showObject



14
15
16
17
# File 'app/controllers/spotlight/browse_controller.rb', line 14

def show
  add_breadcrumb @search.title, exhibit_browse_path(@exhibit, @search)
  (@response, @document_list) = get_search_results @search.query_params
end