lib/safe_cookies.rb in safe_cookies-0.1.2 vs lib/safe_cookies.rb in safe_cookies-0.1.3

- old
+ new

@@ -72,9 +72,10 @@ set_secure_cookie!(headers, 'secured_old_cookies', Rack::Utils.rfc2822(Time.now.gmtime)) end def set_secure_cookie!(headers, key, value, expire_after = 365 * 24 * 60 * 60) # one year options = { + :path => '/', :value => value, :secure => secure?(key), :httponly => http_only?(key), :expires => Time.now + expire_after # This is what Rails does }