Permalink
Browse files

Fixed confusing wording in ActionCachePath

  • Loading branch information...
1 parent 986b3f8 commit 192110544d45920563376e129142bde0fc65b48d Kyle committed Apr 8, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/caching/actions.rb
@@ -134,7 +134,7 @@ def path_for(controller, options, infer_extension = true)
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)

0 comments on commit 1921105

Please sign in to comment.