diff --git a/app/models/wiki.rb b/app/models/wiki.rb index e629baf..b4cf765 100644 --- a/app/models/wiki.rb +++ b/app/models/wiki.rb @@ -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