diff options
author | Dave Gynn <davegynn@gmail.com> | 2015-12-26 22:25:27 -0800 |
---|---|---|
committer | Dave Gynn <davegynn@gmail.com> | 2015-12-26 22:37:31 -0800 |
commit | 837e40dcac023319a0bfc38240761d4352b73b99 (patch) | |
tree | 3b98c30c02e7f01d41e7902aa72e85c168de2068 /actionpack/lib/action_controller/metal/conditional_get.rb | |
parent | c56e56773815221ef1fbd127f949c3e5207ea471 (diff) | |
download | rails-837e40dcac023319a0bfc38240761d4352b73b99.tar.gz rails-837e40dcac023319a0bfc38240761d4352b73b99.tar.bz2 rails-837e40dcac023319a0bfc38240761d4352b73b99.zip |
restore ability to pass extra options to cache stores
The `cache` helper methods should pass any extra options
to the cache store. For example :expires_in would be a
valid option if memcache was the cache store. The change
in commit da16745 broke the ability to pass any options
other than :skip_digest and :virtual_path. This PR
restores that functionality and adds a test for it.
Diffstat (limited to 'actionpack/lib/action_controller/metal/conditional_get.rb')
0 files changed, 0 insertions, 0 deletions