diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index bb4a7a226..aa51c0e7a 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -4,7 +4,7 @@ require 'active_record' module ActiveRecord class Base include Redmine::I18n - + # Translate attribute names for validation errors display def self.human_attribute_name(attr) l("field_#{attr.to_s.gsub(/_id$/, '')}", :default => attr) @@ -72,7 +72,7 @@ module AsynchronousMailer define_method("perform_delivery_async_#{type}") do |mail| Thread.start do send "perform_delivery_#{type}", mail - end + end end end end