Sha256: 235b1c44f83adec70ab484862c85a36d6d682147b67a6bb6da61a51a029e16fc

Contents?: true

Size: 428 Bytes

Versions: 6

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Accountability
    module Admin
      # This command is executed when the user creates a Status from the admin
      # panel.
      class CreateStatus < Decidim::Commands::CreateResource
        fetch_form_attributes :key, :name, :description, :progress, :component

        private

        def resource_class = Decidim::Accountability::Status
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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