From 84cab320bc1faaddc142cbbb38713d3f29a8b07d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 26 Aug 2010 15:19:55 -0300 Subject: Ensure templates like template.html are found but still uses the proper virtual path. --- actionmailer/test/mailers/base_mailer.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actionmailer/test/mailers') diff --git a/actionmailer/test/mailers/base_mailer.rb b/actionmailer/test/mailers/base_mailer.rb index 2c6de36ccf..e89a5820cc 100644 --- a/actionmailer/test/mailers/base_mailer.rb +++ b/actionmailer/test/mailers/base_mailer.rb @@ -111,4 +111,8 @@ class BaseMailer < ActionMailer::Base format.html { render :layout => layout_name } end end + + def email_with_translations + body render("email_with_translations.html") + end end -- cgit v1.2.3