Module: Maestrano::Rails::MaestranoSecurity
- Defined in:
- lib/maestrano/rails/controllers/maestrano_security.rb
Defined Under Namespace
Modules: ControllerFilters
Class Method Summary collapse
-
.included(base) ⇒ Object
This module aims at being included into ApplicationController but we do not do until a maestrano_user_via is declared on a model (no need to polute the app) - See MaestranoAuthResource for details on how the inclusion is done.
Class Method Details
.included(base) ⇒ Object
This module aims at being included into ApplicationController but we do not do until a maestrano_user_via is declared on a model (no need to polute the app) - See MaestranoAuthResource for details on how the inclusion is done
10 11 12 13 |
# File 'lib/maestrano/rails/controllers/maestrano_security.rb', line 10 def self.included(base) base.send :include, ControllerFilters base.before_filter :verify_maestrano_session end |