diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-10 17:42:17 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-10 17:42:17 +0000 |
commit | a0403bd732ca9d05f54de8a7a71ca47773e30215 (patch) | |
tree | ff45bdc2051bae3d113c6fcd0944799dc6b60861 /actionpack/lib | |
parent | 5cd021393c6b17072c240b37900ece904b132c59 (diff) | |
download | rails-a0403bd732ca9d05f54de8a7a71ca47773e30215.tar.gz rails-a0403bd732ca9d05f54de8a7a71ca47773e30215.tar.bz2 rails-a0403bd732ca9d05f54de8a7a71ca47773e30215.zip |
Fixed #1030
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/caching.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb index dcfb3378ce..159a1ba14e 100644 --- a/actionpack/lib/action_controller/caching.rb +++ b/actionpack/lib/action_controller/caching.rb @@ -304,7 +304,7 @@ module ActionController #:nodoc: end def expire_matched_fragments(re=Regexp.new('/.*/'), options = {}) - rp = cache_base_url + rp = cache_base_url.split("://").last fragment_cache_store.delete_matched(re, { :root_path => rp }) logger.info "Expired all fragments matching: #{rp}#{re.source}" unless logger.nil? end |