Class: Lesli::SystemControllersController
- Inherits:
-
ApplicationLesliController
- Object
- ActionController::Base
- ApplicationController
- ApplicationLesliController
- Lesli::SystemControllersController
- Defined in:
- app/controllers/lesli/system_controllers_controller.rb
Instance Attribute Summary
Attributes inherited from ApplicationController
Instance Method Summary collapse
-
#index ⇒ Object
GET /system_controllers.
- #options ⇒ Object
Methods included from Interfaces::Application::Logger
#get_user_agent, #log_account_activity, #log_account_requests, #log_requests, #log_user_requests
Methods included from Interfaces::Application::Requester
#set_locale, #set_path, #set_requester
Methods included from Interfaces::Application::Responder
#respond_with_action, #respond_with_error, #respond_with_http, #respond_with_not_found, #respond_with_pagination, #respond_with_successful, #respond_with_unauthorized
Methods included from Interfaces::Application::Customization
Methods included from Interfaces::Application::Authorization
#authorize_privilege, #authorize_request
Methods inherited from ApplicationController
Constructor Details
This class inherits a constructor from Lesli::ApplicationController
Instance Method Details
#index ⇒ Object
GET /system_controllers
38 39 40 41 42 43 44 45 |
# File 'app/controllers/lesli/system_controllers_controller.rb', line 38 def index respond_to do |format| format.html {} format.json do respond_with_successful(Lesli::SystemController.index()) end end end |
#options ⇒ Object
47 48 49 50 51 52 53 54 |
# File 'app/controllers/lesli/system_controllers_controller.rb', line 47 def respond_to do |format| format.html {} format.json do respond_with_successful(SystemController.(current_user, @query)) end end end |