Class: Plum::Cp::StaticCacheController
- Inherits:
-
BaseController
- Object
- ApplicationController
- ApplicationController
- BaseController
- Plum::Cp::StaticCacheController
- Defined in:
- app/controllers/plum/cp/static_cache_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
6 7 8 9 |
# File 'app/controllers/plum/cp/static_cache_controller.rb', line 6 def destroy Plum::StaticCache.flush_site!(current_site) redirect_back fallback_location: cp_root_path, notice: "Page cache cleared" end |