From e4d7a21c9e7f6e65cb19df04ecf684fb12fb9138 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 1 May 2008 10:07:48 +0000 Subject: [PATCH] Remove mail templates localization. git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1393 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- gloc-1.2.0/vendor/plugins/gloc-1.2.0/lib/gloc-rails.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gloc-1.2.0/vendor/plugins/gloc-1.2.0/lib/gloc-rails.rb b/gloc-1.2.0/vendor/plugins/gloc-1.2.0/lib/gloc-rails.rb index 1262b30eb..a6f9de455 100644 --- a/gloc-1.2.0/vendor/plugins/gloc-1.2.0/lib/gloc-rails.rb +++ b/gloc-1.2.0/vendor/plugins/gloc-1.2.0/lib/gloc-rails.rb @@ -108,11 +108,6 @@ module ActionMailer #:nodoc: # Eg. deliver_hello will render hello_en.rhtml. class Base include GLoc - private - alias :render_message_without_gloc :render_message - def render_message(method_name, body) - render_message_without_gloc("#{method_name}_#{current_language}", body) - end end end