increase poll option number

This commit is contained in:
wuyingren 2020-05-25 01:09:29 +08:00
parent 756e660c23
commit 8235844796
2 changed files with 2 additions and 2 deletions

View file

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