Sha256: 3bbc5911875d7be4c1858f013d6983e7e922db5c7b8b7c34e9e2e62b4e1f9826

Contents?: true

Size: 285 Bytes

Versions: 6

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Admin
    # A command with all the business logic when updating a category in the
    # system.
    class UpdateCategory < Decidim::Commands::UpdateResource
      fetch_form_attributes :name, :weight, :parent_id
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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