aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/template_assertions.rb
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-07-17 19:30:08 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-07-17 19:35:00 +0530
commit75c51b034189aebf4fe2446ee82a85b28779f95b (patch)
tree9b5314380c614bf7c441a7c88429a83d2e6a8ae5 /actionpack/lib/action_controller/template_assertions.rb
parentb76808602de772fecae4bd27298f7662aac8436a (diff)
downloadrails-75c51b034189aebf4fe2446ee82a85b28779f95b.tar.gz
rails-75c51b034189aebf4fe2446ee82a85b28779f95b.tar.bz2
rails-75c51b034189aebf4fe2446ee82a85b28779f95b.zip
Introduce a new method for checking whether session_store is set by user or by Rails
- We need to ability to check whether the session store it is set or not so that we can set it ourselves in an internal initializer. - We can't rely on return value of `config.session_store` as it can return `nil` when set to `disabled` and we will accidentally override it and set to default cookie store. - So introduced new method which just tells us whether it is set or not.
Diffstat (limited to 'actionpack/lib/action_controller/template_assertions.rb')
0 files changed, 0 insertions, 0 deletions