app/commands/decidim/initiatives/spawn_committee_request.rb in decidim-initiatives-0.18.1 vs app/commands/decidim/initiatives/spawn_committee_request.rb in decidim-initiatives-0.19.0

- old
+ new

@@ -20,9 +20,10 @@ # - :invalid if the form wasn't valid and we couldn't proceed. # # Returns nothing. def call return broadcast(:invalid) if form.invalid? + request = create_request if request.persisted? broadcast(:ok, request) else