aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/caching/actions.rb
diff options
context:
space:
mode:
authorlifo <lifo@null.lan>2009-04-17 14:28:46 +0100
committerlifo <lifo@null.lan>2009-04-17 14:28:46 +0100
commit5b92dcb6757e90da316bd0c7a8472b9fa737f268 (patch)
tree6893d7cff5e18862f2c419588656600a4dec1090 /actionpack/lib/action_controller/caching/actions.rb
parentabb899c54e8777428b7a607774370ba29a5573bd (diff)
downloadrails-5b92dcb6757e90da316bd0c7a8472b9fa737f268.tar.gz
rails-5b92dcb6757e90da316bd0c7a8472b9fa737f268.tar.bz2
rails-5b92dcb6757e90da316bd0c7a8472b9fa737f268.zip
Merge docrails
Diffstat (limited to 'actionpack/lib/action_controller/caching/actions.rb')
-rw-r--r--actionpack/lib/action_controller/caching/actions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/caching/actions.rb b/actionpack/lib/action_controller/caching/actions.rb
index 87b5029e57..b99feddf77 100644
--- a/actionpack/lib/action_controller/caching/actions.rb
+++ b/actionpack/lib/action_controller/caching/actions.rb
@@ -134,7 +134,7 @@ module ActionController #:nodoc:
end
end
- # When true, infer_extension will look up the cache path extension from the request's path & format.
+ # If +infer_extension+ is true, the cache path extension is looked up from the request's path & format.
# This is desirable when reading and writing the cache, but not when expiring the cache -
# expire_action should expire the same files regardless of the request format.
def initialize(controller, options = {}, infer_extension = true)