Class: Admin::SearchController
- Inherits:
-
AdminController
- Object
- ApplicationController
- AdminController
- Admin::SearchController
- Defined in:
- app/controllers/admin/search_controller.rb
Instance Method Summary collapse
-
#index ⇒ void
GET /admin/search.
Instance Method Details
#index ⇒ void
This method returns an undefined value.
GET /admin/search
This action sets up the request URL and retrieves facet options from the Blacklight API.
13 14 15 16 |
# File 'app/controllers/admin/search_controller.rb', line 13 def index @request = "#{request.protocol}#{request.host}:#{request.port}" = BlacklightApiFacets.new(@request).facets end |