mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fixed #1030
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user