From 1747c4e2cea811cbf04fccc9f57256c80112d9ce Mon Sep 17 00:00:00 2001 From: Robin Dupret Date: Sun, 15 Feb 2015 12:30:38 +0100 Subject: Tiny documentation edits [ci skip] --- actionpack/lib/action_controller/metal/conditional_get.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack') 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. # - # public 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. # - # version 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 -- cgit v1.2.3