expire page cache for diff
This commit is contained in:
parent
5f7e569737
commit
1454fbf14a
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue