Increase the number of poll options to 10
parent
85432b82bd
commit
aaba4323ca
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue