app/commands/decidim/consultations/admin/update_consultation.rb in decidim-consultations-0.18.1 vs app/commands/decidim/consultations/admin/update_consultation.rb in decidim-consultations-0.19.0
- old
+ new
@@ -21,9 +21,10 @@
# - :invalid if the form wasn't valid and we couldn't proceed.
#
# Returns nothing.
def call
return broadcast(:invalid) if form.invalid?
+
update_consultation
if consultation.valid?
broadcast(:ok, consultation)
else