aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-09-04 15:56:27 -0700
committerPhilip Arndt <parndt@gmail.com>2011-09-04 15:56:27 -0700
commitd8f36a41962203a45a1a9ee7d52bad92b4066ebf (patch)
treed43604ee53b68e439b1d8ded459b43c0c252fe28
parentf584651b5844896586dcbca859c5108110407b77 (diff)
parent88556fe7090c60e685d69ad14858594d03cb780a (diff)
downloadrefinerycms-blog-d8f36a41962203a45a1a9ee7d52bad92b4066ebf.tar.gz
refinerycms-blog-d8f36a41962203a45a1a9ee7d52bad92b4066ebf.tar.bz2
refinerycms-blog-d8f36a41962203a45a1a9ee7d52bad92b4066ebf.zip
Merge pull request #128 from enmasse-entertainment/rails-3-1
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