Class: Decidim::Budgets::Admin::UpdateProject

Inherits:
Commands::UpdateResource
  • Object
show all
Includes:
GalleryMethods
Defined in:
app/commands/decidim/budgets/admin/update_project.rb

Overview

This command is executed when the user changes a Project from the admin panel.

Instance Method Summary collapse

Constructor Details

#initialize(form, project) ⇒ UpdateProject

Returns a new instance of UpdateProject.



12
13
14
15
# File 'app/commands/decidim/budgets/admin/update_project.rb', line 12

def initialize(form, project)
  super(form, project)
  @attached_to = project
end