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