remove trailing white-spaces from config/initializers/10-patches.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6692 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
ffcbbca81c
commit
6ed34affa0
1 file changed
+2
-2
@@ -4,7 +4,7 @@ require 'active_record'
|
|||||||
module ActiveRecord
|
module ActiveRecord
|
||||||
class Base
|
class Base
|
||||||
include Redmine::I18n
|
include Redmine::I18n
|
||||||
|
|
||||||
# Translate attribute names for validation errors display
|
# Translate attribute names for validation errors display
|
||||||
def self.human_attribute_name(attr)
|
def self.human_attribute_name(attr)
|
||||||
l("field_#{attr.to_s.gsub(/_id$/, '')}", :default => attr)
|
l("field_#{attr.to_s.gsub(/_id$/, '')}", :default => attr)
|
||||||
@@ -72,7 +72,7 @@ module AsynchronousMailer
|
|||||||
define_method("perform_delivery_async_#{type}") do |mail|
|
define_method("perform_delivery_async_#{type}") do |mail|
|
||||||
Thread.start do
|
Thread.start do
|
||||||
send "perform_delivery_#{type}", mail
|
send "perform_delivery_#{type}", mail
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user