Class: Decidim::Budgets::Admin::UpdateProject
- Inherits:
-
Commands::UpdateResource
- Object
- Commands::UpdateResource
- Decidim::Budgets::Admin::UpdateProject
- 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
-
#initialize(form, project) ⇒ UpdateProject
constructor
A new instance of UpdateProject.
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 |