Cache Source View

Also, fix a cache-sweeping bug reported,
long ago, by Toby Bartels.
This commit is contained in:
Jacques Distler 2009-12-13 21:09:12 -06:00
parent 1613973929
commit dc3d202665
3 changed files with 5 additions and 4 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 history), :id => page_name
:action => %w(show published s5 tex print history source), :id => page_name
expire_action :controller => 'wiki', :web => web.address,
:action => 'show', :id => page_name, :mode => 'diff'
end