Class: BeetleReporter::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- BeetleReporter::ApplicationController
show all
- Includes:
- ActionView::RecordIdentifier, Pagy::Backend
- Defined in:
- app/controllers/beetle_reporter/application_controller.rb
Instance Method Summary
collapse
Instance Method Details
#current_user ⇒ Object
7
8
9
|
# File 'app/controllers/beetle_reporter/application_controller.rb', line 7
def current_user
main_app.scope.request.env['warden']&.user
end
|