diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-25 13:37:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-25 13:37:29 +0000 |
commit | dfcc8e1492dc4a30b1cddf600aed105f3284528d (patch) | |
tree | b3dd6b5e52a35bc7e83821a657c631bff5155c7e /app/models/project.rb | |
parent | c7d83be6131a386928c48f093a7426505c028dfc (diff) | |
download | redmine-dfcc8e1492dc4a30b1cddf600aed105f3284528d.tar.gz redmine-dfcc8e1492dc4a30b1cddf600aed105f3284528d.zip |
Change projects homepage limit to 255 chars (#663, #1095).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1457 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 2f2937fd9..e560f1dac 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -57,7 +57,7 @@ class Project < ActiveRecord::Base validates_associated :custom_values, :on => :update validates_associated :repository, :wiki validates_length_of :name, :maximum => 30 - validates_length_of :homepage, :maximum => 60 + validates_length_of :homepage, :maximum => 255 validates_length_of :identifier, :in => 3..20 validates_format_of :identifier, :with => /^[a-z0-9\-]*$/ |