module Maestrano::Rails::MaestranoSecurity
Public Class Methods
included(base)
click to toggle source
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
# 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