Class: Locomotive::SearchForResourcesController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Locomotive::SearchForResourcesController
- Defined in:
- app/controllers/locomotive/search_for_resources_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
8 9 10 11 |
# File 'app/controllers/locomotive/search_for_resources_controller.rb', line 8 def index resources = service.find_resources(params[:type], params[:q], params[:scope]) respond_with resources end |