Class: Refinery::PageSweeper

Inherits:
ActionController::Caching::Sweeper
  • Object
show all
Defined in:
pages/app/controllers/refinery/page_sweeper.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) after_create(page)



5
6
7
# File 'pages/app/controllers/refinery/page_sweeper.rb', line 5

def after_create(page)
  expire_cache
end

- (Object) after_destroy(page)



13
14
15
# File 'pages/app/controllers/refinery/page_sweeper.rb', line 13

def after_destroy(page)
  expire_cache
end

- (Object) after_update(page)



9
10
11
# File 'pages/app/controllers/refinery/page_sweeper.rb', line 9

def after_update(page)
  expire_cache
end