Sha256: ac44ad627edd14c9f79693a5acc9633a549997855929de85a557547657bcb0ad

Contents?: true

Size: 415 Bytes

Versions: 6

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Budgets
    module Admin
      # This command is executed when the user updates a Budget
      # from the admin panel.
      class UpdateBudget < Decidim::Commands::UpdateResource
        fetch_form_attributes :scope, :title, :weight, :description, :total_budget

        protected

        def extra_params = { visibility: "all" }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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