summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-21 18:52:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-21 18:52:12 +0000
commit05106b45ad22640039e012abbdc3c8a30040acdc (patch)
tree36efe3821e4cb48451ed4d49758cf8accdfb4d91 /app/models
parente2d860b34ba9ce933f8dc029093ed76655473073 (diff)
downloadredmine-05106b45ad22640039e012abbdc3c8a30040acdc.tar.gz
redmine-05106b45ad22640039e012abbdc3c8a30040acdc.zip
Raises maximum length of category name to 60 (#20991).
git-svn-id: http://svn.redmine.org/redmine/trunk@14724 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/issue_category.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_category.rb b/app/models/issue_category.rb
index a84c5350c..db8823ee2 100644
--- a/app/models/issue_category.rb
+++ b/app/models/issue_category.rb
@@ -23,7 +23,7 @@ class IssueCategory < ActiveRecord::Base
validates_presence_of :name
validates_uniqueness_of :name, :scope => [:project_id]
- validates_length_of :name, :maximum => 30
+ validates_length_of :name, :maximum => 60
attr_protected :id
safe_attributes 'name', 'assigned_to_id'