Class: Refinery::PageSweeper
- Inherits:
-
ActionController::Caching::Sweeper
- Object
- ActionController::Caching::Sweeper
- Refinery::PageSweeper
- Defined in:
- app/controllers/refinery/page_sweeper.rb
Instance Method Summary collapse
Instance Method Details
#after_create(page) ⇒ Object
5 6 7 |
# File 'app/controllers/refinery/page_sweeper.rb', line 5 def after_create(page) expire_cache end |
#after_destroy(page) ⇒ Object
13 14 15 |
# File 'app/controllers/refinery/page_sweeper.rb', line 13 def after_destroy(page) expire_cache end |
#after_update(page) ⇒ Object
9 10 11 |
# File 'app/controllers/refinery/page_sweeper.rb', line 9 def after_update(page) expire_cache end |