summaryrefslogtreecommitdiffstats
path: root/app/models/wiki_content.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-09-21 21:13:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-09-21 21:13:06 +0000
commit7b12145ed904e531fa4e573cb5efb50abdedf6ac (patch)
tree4be4fb23985aa6371bebb3e185aa300e9915f816 /app/models/wiki_content.rb
parent5882629e26abcc6dcf7d1f0a0e62982ea1a308ca (diff)
downloadredmine-7b12145ed904e531fa4e573cb5efb50abdedf6ac.tar.gz
redmine-7b12145ed904e531fa4e573cb5efb50abdedf6ac.zip
Raises wiki edits comments limit to 1024 (#19886).
git-svn-id: http://svn.redmine.org/redmine/trunk@14622 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/wiki_content.rb')
-rw-r--r--app/models/wiki_content.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/wiki_content.rb b/app/models/wiki_content.rb
index 992c7da34..223b6ca47 100644
--- a/app/models/wiki_content.rb
+++ b/app/models/wiki_content.rb
@@ -22,7 +22,7 @@ class WikiContent < ActiveRecord::Base
belongs_to :page, :class_name => 'WikiPage'
belongs_to :author, :class_name => 'User'
validates_presence_of :text
- validates_length_of :comments, :maximum => 255, :allow_nil => true
+ validates_length_of :comments, :maximum => 1024, :allow_nil => true
attr_protected :id
acts_as_versioned