Changed the content length of forumthreads to 20k because Nemes

This commit was merged in pull request #11.
This commit is contained in:
Jonas Folvik
2016-10-03 23:01:46 +02:00
parent e0ac5fac13
commit 00fc8b3fcd
+1 -1
View File
@@ -11,7 +11,7 @@ class Forumthread < ActiveRecord::Base
validates_presence_of :title, :author, :forum validates_presence_of :title, :author, :forum
validates_presence_of :content validates_presence_of :content
validates_length_of :content, in: 5..10000 validates_length_of :content, in: 5..20000
accepts_nested_attributes_for :threadreplies accepts_nested_attributes_for :threadreplies