From 6ed34affa0d669090d853e0bca608d4cacb02109 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 28 Aug 2011 07:13:37 +0000 Subject: [PATCH] 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 --- config/initializers/10-patches.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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