summaryrefslogtreecommitdiffstats
path: root/app/models/custom_field.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-23 11:00:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-23 11:00:02 +0000
commitf94711ea8c9998a6a6af74370fdc02c9c25208cb (patch)
treef044eb85f6543787b3786ae9d5eaded412f5915e /app/models/custom_field.rb
parent311ca416d75403b5f963bf740910542682f10c36 (diff)
downloadredmine-f94711ea8c9998a6a6af74370fdc02c9c25208cb.tar.gz
redmine-f94711ea8c9998a6a6af74370fdc02c9c25208cb.zip
Option to specify allowed extensions for a file custom field (#6719).
git-svn-id: http://svn.redmine.org/redmine/trunk@15921 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/custom_field.rb')
-rw-r--r--app/models/custom_field.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb
index 7f37ec120..46d45813c 100644
--- a/app/models/custom_field.rb
+++ b/app/models/custom_field.rb
@@ -87,7 +87,8 @@ class CustomField < ActiveRecord::Base
'text_formatting',
'edit_tag_style',
'user_role',
- 'version_status'
+ 'version_status',
+ 'extensions_allowed'
def format
@format ||= Redmine::FieldFormat.find(field_format)