git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2005-04-10 17:42:17 +00:00
parent 5cd021393c
commit a0403bd732

View File

@@ -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