Module: Authlogic::ControllerAdapters::MerbAdapter::MerbImplementation

Defined in:
lib/authlogic/controller_adapters/merb_adapter.rb

Overview

Merb Implementation

Lets Authlogic know about the controller object via a before filter, AKA “activates” authlogic.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object

:nodoc:



12
13
14
# File 'lib/authlogic/controller_adapters/merb_adapter.rb', line 12

def self.included(klass) # :nodoc:
  klass.before :activate_authlogic
end

Instance Method Details



16
17
18
# File 'lib/authlogic/controller_adapters/merb_adapter.rb', line 16

def cookie_domain
  Merb::Config[:session_cookie_domain]
end