Sha256: a5d49c725c234473ac8a019d4d31180189e01353b8e30076e5b2fa7d99180ef2

Contents?: true

Size: 527 Bytes

Versions: 6

Compression:

Stored size: 527 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    module Admin
      # A command with all the business logic when destroying a media link
      # in the system.
      class DestroyMediaLink < 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_media_link.rb
decidim-conferences-0.29.0 app/commands/decidim/conferences/admin/destroy_media_link.rb
decidim-conferences-0.29.0.rc4 app/commands/decidim/conferences/admin/destroy_media_link.rb
decidim-conferences-0.29.0.rc3 app/commands/decidim/conferences/admin/destroy_media_link.rb
decidim-conferences-0.29.0.rc2 app/commands/decidim/conferences/admin/destroy_media_link.rb
decidim-conferences-0.29.0.rc1 app/commands/decidim/conferences/admin/destroy_media_link.rb