diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-08-22 12:33:03 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-08-22 12:33:03 +0900 |
commit | f9dbc69c6482c5f4fde9a9b34715c4fdb0f8e21b (patch) | |
tree | 311176f081e072ef252e2200e40dbee03ab715be /actionpack/lib | |
parent | 14ecf58b54454ccb19016c7f41e23e1a936b12eb (diff) | |
download | rails-f9dbc69c6482c5f4fde9a9b34715c4fdb0f8e21b.tar.gz rails-f9dbc69c6482c5f4fde9a9b34715c4fdb0f8e21b.tar.bz2 rails-f9dbc69c6482c5f4fde9a9b34715c4fdb0f8e21b.zip |
Show the `ENV` value correctly in the doc of `combined_fragment_cache_key` [ci skip]
It seems to need an escape for the showing `ENV`.
https://api.rubyonrails.org/classes/AbstractController/Caching/Fragments.html#method-i-combined_fragment_cache_key
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/abstract_controller/caching/fragments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/caching/fragments.rb b/actionpack/lib/abstract_controller/caching/fragments.rb index f99b0830b2..febd8a67a6 100644 --- a/actionpack/lib/abstract_controller/caching/fragments.rb +++ b/actionpack/lib/abstract_controller/caching/fragments.rb @@ -82,7 +82,7 @@ module AbstractController # Given a key (as described in +expire_fragment+), returns # a key array suitable for use in reading, writing, or expiring a # cached fragment. All keys begin with <tt>:views</tt>, - # followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, + # followed by <tt>ENV["RAILS_CACHE_ID"]</tt> or <tt>ENV["RAILS_APP_VERSION"]</tt> if set, # followed by any controller-wide key prefix values, ending # with the specified +key+ value. def combined_fragment_cache_key(key) |