Class: Upframework::SearchesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Upframework::SearchesController
- Defined in:
- app/controllers/upframework/searches_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/controllers/upframework/searches_controller.rb', line 5 def index args = { current_ability: current_ability, current_user: current_user } args.merge!(permitted_params) resource_scope = search_class.run(args).result render_serialized resource_scope end |