diff options
author | jomo <github@jomo.tv> | 2016-10-14 10:58:39 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2016-10-14 10:58:39 +0200 |
commit | ddc57fa7df6678fd6e409770cd613dc5f54c0659 (patch) | |
tree | 83d05d32326360386a4395e8a85aacac25f4a6fc | |
parent | cce749deef267b464c4cb8886d39bfa2d4001fbf (diff) | |
parent | 00fc8b3fcd10860abb70a57fb6aaab3c476259f2 (diff) |
Merge commit '00fc8b3fcd10860abb70a57fb6aaab3c476259f2'
-rw-r--r-- | app/models/forumthread.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/forumthread.rb b/app/models/forumthread.rb index 892ef15..905e4d3 100644 --- a/app/models/forumthread.rb +++ b/app/models/forumthread.rb @@ -11,7 +11,7 @@ class Forumthread < ActiveRecord::Base validates_presence_of :title, :author, :forum validates_presence_of :content - validates_length_of :content, in: 5..10000 + validates_length_of :content, in: 5..20000 accepts_nested_attributes_for :threadreplies @@ -65,4 +65,4 @@ class Forumthread < ActiveRecord::Base def to_param [id, to_s.parameterize].join("-") end -end
\ No newline at end of file +end |