Increased minimum title length for forum groups and forums.

This commit is contained in:
Logan Fick
2017-10-28 21:48:14 -04:00
parent 7520efb683
commit 5b3b0fe3ef
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ class Forumgroup < ActiveRecord::Base
validates_presence_of :name, :position
validates_length_of :name, in: 2..20
validates_length_of :name, in: 4..20
def to_s
name