Cache History Pages

Implement caching for the "history" pages
introduced in Revision 377.
This commit is contained in:
Jacques Distler 2009-03-31 08:52:46 -05:00
parent d5a65e6ac8
commit 73a7ceef03
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ module CacheSweepingHelper
def expire_cached_page(web, page_name)
expire_action :controller => 'wiki', :web => web.address,
:action => %w(show published s5 tex print), :id => page_name
:action => %w(show published s5 tex print history), :id => page_name
expire_action :controller => 'wiki', :web => web.address,
:action => %w(show published), :id => page_name, :mode => 'diff'
end