Class: Cache::FlushesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Cache::FlushesController
- Defined in:
- app/controllers/solid_stack_web/cache/flushes_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
3 4 5 6 |
# File 'app/controllers/solid_stack_web/cache/flushes_controller.rb', line 3 def destroy ::SolidCache::Entry.delete_all redirect_to cache_entries_path, notice: "All cache entries flushed." end |