Sha256: 0ff40ae809ed96c6baec11ebb61b7ab2f500f6a1f94e1ab74673d573e1e9996d

Contents?: true

Size: 547 Bytes

Versions: 6

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

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

        def extra_params
          {
            resource: {
              title: resource.full_name
            },
            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_conference_speaker.rb
decidim-conferences-0.29.0 app/commands/decidim/conferences/admin/destroy_conference_speaker.rb
decidim-conferences-0.29.0.rc4 app/commands/decidim/conferences/admin/destroy_conference_speaker.rb
decidim-conferences-0.29.0.rc3 app/commands/decidim/conferences/admin/destroy_conference_speaker.rb
decidim-conferences-0.29.0.rc2 app/commands/decidim/conferences/admin/destroy_conference_speaker.rb
decidim-conferences-0.29.0.rc1 app/commands/decidim/conferences/admin/destroy_conference_speaker.rb