Class: Lesli::UsersController
- Inherits:
-
ApplicationLesliController
- Object
- ActionController::Base
- ApplicationController
- ApplicationLesliController
- Lesli::UsersController
- Defined in:
- app/controllers/lesli/users_controller.rb
Instance Attribute Summary
Attributes inherited from ApplicationController
Instance Method Summary collapse
-
#list ⇒ Object
GET /users/list.
Methods inherited from ApplicationLesliController
Methods included from CustomizationInterface
Methods included from ResponderInterface
#respond_with_action, #respond_with_http, #respond_with_json, #respond_with_json_not_found, #respond_with_json_unauthorized, #respond_with_lesli, #respond_with_not_found, #respond_with_pagination, #respond_with_unauthorized, #stream_redirection
Methods included from RequesterInterface
Methods inherited from ApplicationController
Constructor Details
This class inherits a constructor from Lesli::ApplicationController
Instance Method Details
#list ⇒ Object
GET /users/list
37 38 39 40 41 42 43 |
# File 'app/controllers/lesli/users_controller.rb', line 37 def list respond_to do |format| format.json { respond_with_successful(UserService.new(current_user, query).list(params)) } end end |