aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/cache_helper.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-01-29 00:14:26 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-01-29 00:15:19 -0500
commitf16709231de2df863949e8e99a5b0fe22695fd15 (patch)
tree1900af2c47131c27c6559a6293ca10d0c073dc2a /actionview/lib/action_view/helpers/cache_helper.rb
parentc3c92fb5e572debc62539137ad5fe158bd978b7e (diff)
parent837e40dcac023319a0bfc38240761d4352b73b99 (diff)
downloadrails-f16709231de2df863949e8e99a5b0fe22695fd15.tar.gz
rails-f16709231de2df863949e8e99a5b0fe22695fd15.tar.bz2
rails-f16709231de2df863949e8e99a5b0fe22695fd15.zip
Merge pull request #22800 from dgynn/pr_cache_helper_options
Restore ability to pass extra options to cache stores
Diffstat (limited to 'actionview/lib/action_view/helpers/cache_helper.rb')
-rw-r--r--actionview/lib/action_view/helpers/cache_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/cache_helper.rb b/actionview/lib/action_view/helpers/cache_helper.rb
index 18b2102d73..2e30578123 100644
--- a/actionview/lib/action_view/helpers/cache_helper.rb
+++ b/actionview/lib/action_view/helpers/cache_helper.rb
@@ -208,7 +208,7 @@ module ActionView
#
# The digest will be generated using +virtual_path:+ if it is provided.
#
- def cache_fragment_name(name = {}, skip_digest: nil, virtual_path: nil)
+ def cache_fragment_name(name = {}, skip_digest: nil, virtual_path: nil, **_options)
if skip_digest
name
else