lib/devise/rails/warden_compat.rb in devise-1.1.pre4 vs lib/devise/rails/warden_compat.rb in devise-1.1.rc0
- old
+ new
@@ -6,11 +6,11 @@
def reset_session!
raw_session.inspect # why do I have to inspect it to get it to clear?
raw_session.clear
end
- def response
- @response ||= env['action_controller.instance'].response
+ def cookies
+ request.cookie_jar
end
end
class Warden::SessionSerializer
def serialize(record)
\ No newline at end of file