search for: adminbasecontrol

Displaying 1 result from an estimated 1 matches for "adminbasecontrol".

2007 Sep 10
2
expire_page not working
...rr.puts "@@@@@ Expiring staff page" expire_page( :controller => ''welcome'', :action => ''staff'' ) $stderr.puts "@@@@@ Staff Page Expired" end end In my administrative controller, I have class Admin::PeopleController < Admin::AdminBaseController cache_sweeper :person_sweeper and finally, in the public controller, I have class WelcomeController < ApplicationController caches_page :staff When I hit the public ''staff'' page, the cache file is created. When changes are made to the underlying data model, the swe...