diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-21 02:14:31 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-21 02:14:31 +0000 |
commit | e9b26c52a28203a6c42d5edd1677555de1b05d15 (patch) | |
tree | 3b219116972eebc7955ebf22c56da92bcc8509cf /actionpack/lib/action_controller/caching.rb | |
parent | f212c88315a15922df408395ba3d4b85187019f5 (diff) | |
download | rails-e9b26c52a28203a6c42d5edd1677555de1b05d15.tar.gz rails-e9b26c52a28203a6c42d5edd1677555de1b05d15.tar.bz2 rails-e9b26c52a28203a6c42d5edd1677555de1b05d15.zip |
Fix grammar error in [3115]. References #2966.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/caching.rb')
-rw-r--r-- | actionpack/lib/action_controller/caching.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb index 56ab26f733..1fb78d7e26 100644 --- a/actionpack/lib/action_controller/caching.rb +++ b/actionpack/lib/action_controller/caching.rb @@ -306,8 +306,7 @@ module ActionController #:nodoc: # Name can take one of three forms: # * String: This would normally take the form of a path like "pages/45/notes" # * Hash: Is treated as an implicit call to url_for, like { :controller => "pages", :action => "notes", :id => 45 } - # * Regexp: Will destroy all the matched fragments, example: %r{pages/\d*/notes} Ensure you don't use specify start and finish in your regex (^$) because the actual filename matched will look like ./cache/filename/path.cache - # + # * Regexp: Will destroy all the matched fragments, example: %r{pages/\d*/notes} Ensure you do not specify start and finish in the regex (^$) because the actual filename matched looks like ./cache/filename/path.cache def expire_fragment(name, options = nil) return unless perform_caching |