app/observers/page_sweeper.rb in tb_cms-1.0.2 vs app/observers/page_sweeper.rb in tb_cms-1.0.3
- old
+ new
@@ -12,16 +12,16 @@
end
def after_save(record)
expire_cache_for(record)
expire_page cms_sitemap_path(:format => :xml)
- expire_page spud_sitemap_path(:format => :xml)
+ expire_page sitemap_path(:format => :xml)
end
def after_destroy(record)
expire_cache_for(record)
expire_page cms_sitemap_path
- expire_page spud_sitemap_path
+ expire_page sitemap_path
end
private
def expire_cache_for(record)
if record.is_a?(SpudPage)