app/commands/decidim/proposals/update_proposal.rb in decidim-proposals-0.25.2 vs app/commands/decidim/proposals/update_proposal.rb in decidim-proposals-0.26.0.rc1
- old
+ new
@@ -43,14 +43,15 @@
if @proposal.draft?
update_draft
else
update_proposal
end
- create_gallery if process_gallery?
- create_attachments if process_attachments?
photo_cleanup!
document_cleanup!
+
+ create_gallery if process_gallery?
+ create_attachments if process_attachments?
end
broadcast(:ok, proposal)
end