aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-09-04 15:54:51 -0700
committerJamie Winsor <jamie@enmasse.com>2011-09-04 15:54:51 -0700
commit88556fe7090c60e685d69ad14858594d03cb780a (patch)
treed43604ee53b68e439b1d8ded459b43c0c252fe28
parentf584651b5844896586dcbca859c5108110407b77 (diff)
downloadrefinerycms-blog-88556fe7090c60e685d69ad14858594d03cb780a.tar.gz
refinerycms-blog-88556fe7090c60e685d69ad14858594d03cb780a.tar.bz2
refinerycms-blog-88556fe7090c60e685d69ad14858594d03cb780a.zip
Revert sweeper's expiration parameter to strings for now
-rw-r--r--app/sweepers/refinery/blog_sweeper.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/sweepers/refinery/blog_sweeper.rb b/app/sweepers/refinery/blog_sweeper.rb
index 57a98d8..ceed5fa 100644
--- a/app/sweepers/refinery/blog_sweeper.rb
+++ b/app/sweepers/refinery/blog_sweeper.rb
@@ -17,8 +17,9 @@ module Refinery
private
def expire_cache_for(record)
- expire_page main_app.blog_root_path
- expire_page main_app.blog_rss_feed_path
+ # TODO: Convert these to url helpers
+ expire_page '/blog'
+ expire_page '/blog/feed.rss'
end
end