Module: Locomotive::Concerns::AccountController
- Extended by:
- ActiveSupport::Concern
- Included in:
- BaseController
- Defined in:
- app/controllers/locomotive/concerns/account_controller.rb
Overview
When called, the account_required method enhances the controller by:
- checking if someone is authentified or not.
- setting the right locale for the UI based on the authenticated account.
Defined Under Namespace
Modules: ClassMethods