1) Orphaned pages in a Category were not being listed correctly
2) "list" view was not being expired correctly on deletion of orphaned pages.
This commit is contained in:
Jacques Distler 2009-01-01 02:38:12 -06:00
parent 074599fc9b
commit bdcb506418
3 changed files with 10 additions and 4 deletions

View file

@ -27,6 +27,7 @@ class WebSweeper < ActionController::Caching::Sweeper
expire_cached_summary_pages(record)
else
expire_cached_page(record.web, record.name)
expire_cached_summary_pages(record.web)
end
end