Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 142 Bytes
class IndexSweeper < ActionController::Caching::Sweeper
observe FeaturedPerson
def after_save(record)
expire_page("/index")
end
end