diff options
author | Akira Matsuda <ronnie@dio.jp> | 2016-12-22 18:48:24 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2016-12-24 18:54:48 +0900 |
commit | bc4781583d9db237dd928b01743c6db7596a36b3 (patch) | |
tree | c9f88d46ee3c9c7b9d11a4aacb43c8b17f94f96d /actionpack/lib/action_dispatch/middleware/session | |
parent | 589da3c10c3ac6139eb3f8cbcdedbcfddcedaeee (diff) | |
download | rails-bc4781583d9db237dd928b01743c6db7596a36b3.tar.gz rails-bc4781583d9db237dd928b01743c6db7596a36b3.tar.bz2 rails-bc4781583d9db237dd928b01743c6db7596a36b3.zip |
Privatize unneededly protected methods in Action Pack
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/session')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/session/abstract_store.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb b/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb index 49b82e7128..97c937b0b1 100644 --- a/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb @@ -27,17 +27,16 @@ module ActionDispatch sid end - protected + private - def initialize_sid + def initialize_sid # :doc: @default_options.delete(:sidbits) @default_options.delete(:secure_random) end - private - def make_request(env) - ActionDispatch::Request.new env - end + def make_request(env) + ActionDispatch::Request.new env + end end module StaleSessionCheck |