Class: Locomotive::SearchController
- Inherits:
-
BaseController
- Object
- BaseController
- Locomotive::SearchController
- Defined in:
- app/controllers/locomotive/search_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
8 9 10 11 |
# File 'app/controllers/locomotive/search_controller.rb', line 8 def index results = self.search_service.from_backoffice(current_site, params[:query]) respond_with(results: results) end |