summaryrefslogtreecommitdiffstats
path: root/app/models/custom_field.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-06 20:48:30 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-06 20:48:30 +0000
commitee0e821cc4442e3f88d29a40e88745526a99c136 (patch)
treeacdd3185cfe20c7b2f673039f2213b1977469a82 /app/models/custom_field.rb
parent0fbfcfafe93b4f91fefb38a567535afa8985d64d (diff)
downloadredmine-ee0e821cc4442e3f88d29a40e88745526a99c136.tar.gz
redmine-ee0e821cc4442e3f88d29a40e88745526a99c136.zip
Fixes typo in safe attributes declaration (#25724).
Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@16615 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/custom_field.rb')
-rw-r--r--app/models/custom_field.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb
index 72cf0ea7c..ef9b371b2 100644
--- a/app/models/custom_field.rb
+++ b/app/models/custom_field.rb
@@ -71,7 +71,7 @@ class CustomField < ActiveRecord::Base
'field_format',
'possible_values',
'regexp',
- 'min_lnegth',
+ 'min_length',
'max_length',
'is_required',
'is_for_all',