Sha256: 1a63b3383cd8aa0f2dbd3f2d5b640efbe6d0190840cebc682efd5b25a100085e

Contents?: true

Size: 352 Bytes

Versions: 15

Compression:

Stored size: 352 Bytes

Contents

require_dependency "renalware/admin"

module Renalware
  module Letters
    class PdfLetterCacheController < BaseController
      def destroy
        authorize [:renalware, :admin, :cache], :destroy?
        Renalware::Letters::PdfLetterCache.clear
        redirect_to admin_cache_path, notice: "Cache successfully cleared"
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
renalware-core-2.0.16 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.15 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.14 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.13 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.12 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.11 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.9 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.8 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.7 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.5 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.4 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.3 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.2 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.1 app/controllers/renalware/letters/pdf_letter_cache_controller.rb
renalware-core-2.0.0 app/controllers/renalware/letters/pdf_letter_cache_controller.rb