Sha256: 3cb6b36358c38df8f9a68d089d22b38e6685e9fb6a6154f1107ab79f1580a291
Contents?: true
Size: 271 Bytes
Versions: 6
Compression:
Stored size: 271 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin # This command deals with destroying a newsletter from the admin panel. class DestroyNewsletter < Decidim::Commands::DestroyResource private def invalid? = resource.sent? end end end
Version data entries
6 entries across 6 versions & 1 rubygems