From a0403bd732ca9d05f54de8a7a71ca47773e30215 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 10 Apr 2005 17:42:17 +0000 Subject: Fixed #1030 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/caching.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller/caching.rb') 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 -- cgit v1.2.3