diff options
author | Jamie Winsor <jamie@enmasse.com> | 2011-09-04 15:54:51 -0700 |
---|---|---|
committer | Jamie Winsor <jamie@enmasse.com> | 2011-09-04 15:54:51 -0700 |
commit | 88556fe7090c60e685d69ad14858594d03cb780a (patch) | |
tree | d43604ee53b68e439b1d8ded459b43c0c252fe28 | |
parent | f584651b5844896586dcbca859c5108110407b77 (diff) | |
download | refinerycms-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.rb | 5 |
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 |