aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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