Class: Backend::SearchController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- BaseController
- Backend::SearchController
- Defined in:
- app/controllers/backend/search_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
#breadcrumb, #current_admin, #default_app_locale, #translate_notice
Methods included from Udongo::Cryptography
Instance Method Details
#query ⇒ Object
2 3 4 |
# File 'app/controllers/backend/search_controller.rb', line 2 def query render json: Udongo::Search::Backend.new(params[:term], controller: self).search end |