Class: Lesli::ApplicationLesliController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Lesli::ApplicationLesliController
- Includes:
- CustomizationInterface, RequesterInterface, ResponderInterface, LesliAudit::LoggerInterface, LesliShield::AuthenticationInterface, LesliShield::AuthorizationInterface
- Defined in:
- app/controllers/lesli/application_lesli_controller.rb
Direct Known Subclasses
AboutsController, AppsController, Items::ActivitiesController, Items::DiscussionsController, Items::TasksController, ResourcesController, RolesController, Shared::DashboardsFallbackController, UsersController
Instance Attribute Summary
Attributes inherited from ApplicationController
Instance Method Summary collapse
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
#log(payload) ⇒ Object
59 60 61 62 63 64 65 |
# File 'app/controllers/lesli/application_lesli_controller.rb', line 59 def log(payload) payload[:engine] = self.class.module_parent payload[:source] = self.class.name payload[:action] = action_name payload[:session_id] = session[:user_session_id] current_user.log(**payload) end |