diff options
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-rw-r--r-- | actionpack/lib/action_controller/metal/conditional_get.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal/conditional_get.rb b/actionpack/lib/action_controller/metal/conditional_get.rb index bc6d336e19..858870d8b8 100644 --- a/actionpack/lib/action_controller/metal/conditional_get.rb +++ b/actionpack/lib/action_controller/metal/conditional_get.rb @@ -215,16 +215,16 @@ module ActionController response.cache_control.replace(:no_cache => true) end - # Cache or yield the block. The cache is suppose to never expire. + # Cache or yield the block. The cache is supposed to never expire. # # You can use this method when you have a HTTP response that never changes, # and the browser and proxies should cache it indefinitely. # - # <tt>public</tt> By default, HTTP responses are private, cached only on the + # * +public+: By default, HTTP responses are private, cached only on the # user's web browser. To allow proxies to cache the response, set +true+ to # indicate that they can serve the cached response to all users. # - # <tt>version</tt> is the version passed as a key for the cache. + # * +version+: the version passed as a key for the cache. def http_cache_forever(public: false, version: 'v1') expires_in 100.years, public: public |