app/observers/page_sweeper.rb in tb_cms-1.0 vs app/observers/page_sweeper.rb in tb_cms-1.0.1
- old
+ new
@@ -11,16 +11,16 @@
end
end
def after_save(record)
expire_cache_for(record)
- expire_page spud_cms_sitemap_path(:format => :xml)
+ expire_page cms_sitemap_path(:format => :xml)
expire_page spud_sitemap_path(:format => :xml)
end
def after_destroy(record)
expire_cache_for(record)
- expire_page spud_cms_sitemap_path
+ expire_page cms_sitemap_path
expire_page spud_sitemap_path
end
private
def expire_cache_for(record)