app/commands/decidim/admin/destroy_newsletter.rb in decidim-admin-0.26.10 vs app/commands/decidim/admin/destroy_newsletter.rb in decidim-admin-0.27.0.rc1

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true module Decidim module Admin # This command deals with destroying a newsletter from the admin panel. - class DestroyNewsletter < Rectify::Command + class DestroyNewsletter < Decidim::Command # Public: Initializes the command. # # newsletter - The Newsletter to be destroyed. def initialize(newsletter, current_user) @newsletter = newsletter