Class: Renalware::Letters::PdfLetterCacheController
- Inherits:
-
BaseController
- Object
- ApplicationController
- ApplicationController
- BaseController
- BaseController
- Renalware::Letters::PdfLetterCacheController
- Defined in:
- app/controllers/renalware/letters/pdf_letter_cache_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
Methods inherited from BaseController
Instance Method Details
#destroy ⇒ Object
8 9 10 11 12 |
# File 'app/controllers/renalware/letters/pdf_letter_cache_controller.rb', line 8 def destroy [:renalware, :admin, :cache], :destroy? Renalware::Letters::PdfLetterCache.clear redirect_to admin_cache_path, notice: "Cache successfully cleared" end |