lib/authlogic/controller_adapters/merb_adapter.rb in authlogic-1.3.9 vs lib/authlogic/controller_adapters/merb_adapter.rb in authlogic-1.4.0
- old
+ new
@@ -10,9 +10,13 @@
# Lets Authlogic know about the controller object via a before filter, AKA "activates" authlogic.
module MerbImplementation
def self.included(klass) # :nodoc:
klass.before :activate_authlogic
end
+
+ def cookie_domain
+ Merb::Config[:session_cookie_domain]
+ end
private
def activate_authlogic
Authlogic::Session::Base.controller = MerbAdapter.new(self)
end
\ No newline at end of file