Sha256: 7748a6d316682499736bfdcf580b9ee21c8cc18444b66a3be7ace480bb117b96
Contents?: true
Size: 370 Bytes
Versions: 7
Compression:
Stored size: 370 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin # A command with all the business logic to create a new category in the # system. class CreateCategory < Decidim::Commands::CreateResource fetch_form_attributes :name, :weight, :parent_id, :participatory_space protected def resource_class = Decidim::Category end end end
Version data entries
7 entries across 7 versions & 1 rubygems