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