expire page cache for diff
This commit is contained in:
parent
5f7e569737
commit
1454fbf14a
|
@ -3,6 +3,8 @@ module CacheSweepingHelper
|
||||||
def expire_cached_page(web, page_name)
|
def expire_cached_page(web, page_name)
|
||||||
expire_action :controller => 'wiki', :web => web.address,
|
expire_action :controller => 'wiki', :web => web.address,
|
||||||
:action => %w(show published), :id => page_name
|
:action => %w(show published), :id => page_name
|
||||||
|
expire_action :controller => 'wiki', :web => web.address,
|
||||||
|
:action => %w(show published), :id => page_name, :mode => 'diff'
|
||||||
end
|
end
|
||||||
|
|
||||||
def expire_cached_summary_pages(web)
|
def expire_cached_summary_pages(web)
|
||||||
|
|
Loading…
Reference in a new issue