aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-09-25 17:12:46 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-09-25 17:12:46 -0700
commit80c468c2ad60bed33306589391a8e1f0bebff3fc (patch)
treef67b704ae862dca8938b0be70924bb78723b26fe /actionpack/lib
parentadd46482a540b33184f3011c5c307f4b8e90c9cc (diff)
downloadrails-80c468c2ad60bed33306589391a8e1f0bebff3fc.tar.gz
rails-80c468c2ad60bed33306589391a8e1f0bebff3fc.tar.bz2
rails-80c468c2ad60bed33306589391a8e1f0bebff3fc.zip
inherit from our AbstractStore
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/middleware/session/cookie_store.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb b/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb
index 02b6cfe727..0e636b8257 100644
--- a/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb
+++ b/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb
@@ -62,11 +62,7 @@ module ActionDispatch
# would set the session cookie to expire automatically 14 days after creation.
# Other useful options include <tt>:key</tt>, <tt>:secure</tt> and
# <tt>:httponly</tt>.
- class CookieStore < Rack::Session::Abstract::Persisted
- include Compatibility
- include StaleSessionCheck
- include SessionObject
-
+ class CookieStore < AbstractStore
def initialize(app, options={})
super(app, options.merge!(:cookie_only => true))
end