Class: EspAuth::UsersController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- EspAuth::UsersController
- Defined in:
- app/controllers/esp_auth/users_controller.rb
Instance Method Summary collapse
Instance Method Details
#search ⇒ Object
8 9 10 11 |
# File 'app/controllers/esp_auth/users_controller.rb', line 8 def search url = "#{Settings['sso.url']}/users.json?user_search[keywords]=#{URI.escape(params[:term])}" render :json => JSON.parse(Requester.new(url).response_body) and return end |