summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2016-10-14 13:26:24 +0200
committerjomo <github@jomo.tv>2016-10-14 13:26:24 +0200
commit5ba478339354bdb5b1c61bf258e505d8d331311e (patch)
treec9b2523f578699e6da711a04afc26fcc73492737
parentddc57fa7df6678fd6e409770cd613dc5f54c0659 (diff)
adjust max size of thread reply to that of threads, see #11
-rw-r--r--app/models/threadreply.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/threadreply.rb b/app/models/threadreply.rb
index 0f2faca..47b0d97 100644
--- a/app/models/threadreply.rb
+++ b/app/models/threadreply.rb
@@ -10,7 +10,7 @@ class Threadreply < ActiveRecord::Base
validates_presence_of :content
- validates_length_of :content, in: 2..10000
+ validates_length_of :content, in: 2..20000
def thread
forumthread