]> source.dussan.org Git - redmine.git/commitdiff
Wrong validation introduced in r15989 (#24283).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 19 Nov 2016 13:24:56 +0000 (13:24 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 19 Nov 2016 13:24:56 +0000 (13:24 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@15991 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/wiki.rb

index e629baf9bc3ae9dc2f195526de75a6a7d1919949..b4cf76595cc2981b7128143207dfcd3994da56b2 100644 (file)
@@ -25,7 +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
+  validates_length_of :start_page, maximum: 255
   attr_protected :id
 
   before_destroy :delete_redirects