Increase the number of poll options to 10

master
noiob 2019-10-17 21:13:27 +02:00
parent 85432b82bd
commit aaba4323ca
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true
class PollValidator < ActiveModel::Validator
MAX_OPTIONS = 5
MAX_OPTIONS = 10
MAX_OPTION_CHARS = 100
MAX_EXPIRATION = 1.month.freeze
MIN_EXPIRATION = 5.minutes.freeze