Mercurial > hg > soundsoftware-site
diff config/initializers/10-patches.rb @ 507:0c939c159af4 redmine-1.2
Update to Redmine 1.2.1 on 1.2-stable branch (Redmine SVN rev 6270)
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:32:19 +0100 |
parents | 051f544170fe |
children | cbb26bc654de |
line wrap: on
line diff
--- a/config/initializers/10-patches.rb Mon Jun 06 14:24:13 2011 +0100 +++ b/config/initializers/10-patches.rb Thu Jul 14 10:32:19 2011 +0100 @@ -7,7 +7,7 @@ # Translate attribute names for validation errors display def self.human_attribute_name(attr) - l("field_#{attr.to_s.gsub(/_id$/, '')}") + l("field_#{attr.to_s.gsub(/_id$/, '')}", :default => attr) end end end