aboutsummaryrefslogtreecommitdiffstats
path: root/app/sweepers
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-09-04 14:48:35 -0700
committerJamie Winsor <jamie@enmasse.com>2011-09-04 14:48:35 -0700
commite35e3994d5e019e7e39cc85d171a970a284c29b5 (patch)
tree726c74ca28eecb90452162bd842d4c4fb08dd98a /app/sweepers
parentba38b63370e3d1dce2f71ecdd6a30b9e9f0ecc15 (diff)
downloadrefinerycms-blog-e35e3994d5e019e7e39cc85d171a970a284c29b5.tar.gz
refinerycms-blog-e35e3994d5e019e7e39cc85d171a970a284c29b5.tar.bz2
refinerycms-blog-e35e3994d5e019e7e39cc85d171a970a284c29b5.zip
convert expire_page parameters in blog sweeper from strings to url helpers
Diffstat (limited to 'app/sweepers')
-rw-r--r--app/sweepers/refinery/blog_sweeper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/sweepers/refinery/blog_sweeper.rb b/app/sweepers/refinery/blog_sweeper.rb
index adf97fc..57a98d8 100644
--- a/app/sweepers/refinery/blog_sweeper.rb
+++ b/app/sweepers/refinery/blog_sweeper.rb
@@ -17,8 +17,8 @@ module Refinery
private
def expire_cache_for(record)
- expire_page '/blog'
- expire_page '/blog/feed.rss'
+ expire_page main_app.blog_root_path
+ expire_page main_app.blog_rss_feed_path
end
end