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

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

Overview

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:


8
9
10
# File 'lib/authlogic/controller_adapters/merb_adapter.rb', line 8

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

Instance Method Details


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

def cookie_domain
  Merb::Config[:session_cookie_domain]
end