expire page cache for diff

This commit is contained in:
Alexey Verkhovsky 2006-09-07 02:56:55 +00:00
parent 5f7e569737
commit 1454fbf14a

View file

@ -3,6 +3,8 @@ module CacheSweepingHelper
def expire_cached_page(web, page_name)
expire_action :controller => 'wiki', :web => web.address,
:action => %w(show published), :id => page_name
expire_action :controller => 'wiki', :web => web.address,
:action => %w(show published), :id => page_name, :mode => 'diff'
end
def expire_cached_summary_pages(web)