summaryrefslogtreecommitdiffstats
path: root/lib/redmine/field_format.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-14 10:44:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-14 10:44:59 +0000
commitae4eb4788132caf495eb7b180f9104e4aa0ac42a (patch)
tree74a0bd1faedc646b7a17e9ce14ac11f350864b95 /lib/redmine/field_format.rb
parent1c078a7081e83839a7689c9a8c5e4d49b9b75e4c (diff)
downloadredmine-ae4eb4788132caf495eb7b180f9104e4aa0ac42a.tar.gz
redmine-ae4eb4788132caf495eb7b180f9104e4aa0ac42a.zip
Adds custom fields to documents (#7249).
git-svn-id: http://svn.redmine.org/redmine/trunk@14004 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/field_format.rb')
-rw-r--r--lib/redmine/field_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/field_format.rb b/lib/redmine/field_format.rb
index 68e59ffa5..8cb3bc45d 100644
--- a/lib/redmine/field_format.rb
+++ b/lib/redmine/field_format.rb
@@ -592,7 +592,7 @@ module Redmine
end
class RecordList < List
- self.customized_class_names = %w(Issue TimeEntry Version Project)
+ self.customized_class_names = %w(Issue TimeEntry Version Document Project)
def cast_single_value(custom_field, value, customized=nil)
target_class.find_by_id(value.to_i) if value.present?