Module: Locomotive::Concerns::WithinSiteController

Extended by:
ActiveSupport::Concern
Included in:
BaseController, PasswordsController, SessionsController
Defined in:
app/controllers/locomotive/concerns/within_site_controller.rb

Overview

When called, the within_site method enhances the controller by:

- checking if the user is requesting an existing Locomotive site
- checking if the user is a member of this site (can be disabled)
- setting the current timezone defined by the site

Thus, this module requires the follow concerns:

- SiteDispatcher
- Membership
- Timezone

Defined Under Namespace

Modules: ClassMethods