Module: Authentication::Logic::ControllerAdapters::RailsAdapter::RailsImplementation
- Defined in:
- lib/auth/logic/controller_adapters/rails_adapter.rb
Overview
Lets Authentication::Logic know about the controller object via a before filter, AKA “activates” auth-logic.
Class Method Summary collapse
-
.included(klass) ⇒ Object
:nodoc:.
Class Method Details
.included(klass) ⇒ Object
:nodoc:
32 33 34 |
# File 'lib/auth/logic/controller_adapters/rails_adapter.rb', line 32 def self.included(klass) # :nodoc: klass.prepend_before_action :activate_auth_logic end |