app/commands/decidim/consultations/admin/create_response.rb in decidim-consultations-0.19.1 vs app/commands/decidim/consultations/admin/create_response.rb in decidim-consultations-0.20.0
- old
+ new
@@ -29,10 +29,11 @@
attr_reader :form
def create_response
Response.create(
question: form.context.current_question,
- title: form.title
+ title: form.title,
+ response_group: form.response_group
)
end
end
end
end