Sha256: 29e8df96ed32c63a4a701205308d3ffe14f7d26b25b76f6b3a5f1dc1f38e8e89
Contents?: true
Size: 481 Bytes
Versions: 7
Compression:
Stored size: 481 Bytes
Contents
# frozen_string_literal: true module Decidim module Budgets module Admin # This command is executed when the user creates an Budget # from the admin panel. class CreateBudget < Decidim::Commands::CreateResource fetch_form_attributes :component, :scope, :title, :weight, :description, :total_budget private def extra_params = { visibility: "all" } def resource_class = Decidim::Budgets::Budget end end end end
Version data entries
7 entries across 7 versions & 1 rubygems