diff options
Diffstat (limited to 'app/models/wiki.rb')
-rw-r--r-- | app/models/wiki.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/wiki.rb b/app/models/wiki.rb index 188cb5b6c..e629baf9b 100644 --- a/app/models/wiki.rb +++ b/app/models/wiki.rb @@ -25,6 +25,7 @@ class Wiki < ActiveRecord::Base validates_presence_of :start_page validates_format_of :start_page, :with => /\A[^,\.\/\?\;\|\:]*\z/ + validates_length_of :title, maximum: 255 attr_protected :id before_destroy :delete_redirects |