Sha256: 8ffd00e9e2f79aef7cb41bdae4c189857b8bc5c61f80363c42ce4e41eb445df9
Contents?: true
Size: 383 Bytes
Versions: 142
Compression:
Stored size: 383 Bytes
Contents
# frozen_string_literal: true 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
142 entries across 142 versions & 1 rubygems