app/commands/decidim/elections/admin/update_question.rb in decidim-elections-0.26.7 vs app/commands/decidim/elections/admin/update_question.rb in decidim-elections-0.26.8

- old
+ new

@@ -25,10 +25,10 @@ private attr_reader :form, :question def invalid? - question.election.started? || form.invalid? + question.election.blocked? || form.invalid? end def update_question! attributes = { title: form.title,