Sha256: 5dd1e03b312b1a087601dc8876de6eaa481b6721725f430140c730aacb5f775b

Contents?: true

Size: 552 Bytes

Versions: 6

Compression:

Stored size: 552 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    module Admin
      # A command with all the business logic when destroying a conference
      # registration type in the system.
      class DestroyRegistrationType < Decidim::Commands::DestroyResource
        protected

        def extra_params
          {
            resource: {
              title: resource.title
            },
            participatory_space: {
              title: resource.conference.title
            }
          }
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-conferences-0.29.1 app/commands/decidim/conferences/admin/destroy_registration_type.rb
decidim-conferences-0.29.0 app/commands/decidim/conferences/admin/destroy_registration_type.rb
decidim-conferences-0.29.0.rc4 app/commands/decidim/conferences/admin/destroy_registration_type.rb
decidim-conferences-0.29.0.rc3 app/commands/decidim/conferences/admin/destroy_registration_type.rb
decidim-conferences-0.29.0.rc2 app/commands/decidim/conferences/admin/destroy_registration_type.rb
decidim-conferences-0.29.0.rc1 app/commands/decidim/conferences/admin/destroy_registration_type.rb