Class: Backend::SearchController

Inherits:
BaseController
  • Object
show all
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

#crypt

Instance Method Details

#queryObject



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