Class: StructureSweeper
- Inherits:
-
ActionController::Caching::Sweeper
- Object
- ActionController::Caching::Sweeper
- StructureSweeper
- Defined in:
- app/sweepers/structure_sweeper.rb
Instance Method Summary collapse
Instance Method Details
#after_create(item) ⇒ Object
4 5 6 |
# File 'app/sweepers/structure_sweeper.rb', line 4 def after_create(item) expire(item) end |
#after_destroy(item) ⇒ Object
12 13 14 |
# File 'app/sweepers/structure_sweeper.rb', line 12 def after_destroy(item) expire(item) end |
#after_update(item) ⇒ Object
8 9 10 |
# File 'app/sweepers/structure_sweeper.rb', line 8 def after_update(item) expire(item) end |