From 3c1187699a80e0c4a003f5693389595cd644390f Mon Sep 17 00:00:00 2001 From: Carl Lerche & Yehuda Katz Date: Tue, 14 Apr 2009 17:22:51 -0700 Subject: Makes rails-dev-boost work again --- actionmailer/lib/action_mailer/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer') diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 06610cf9bd..88932eb96f 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -497,7 +497,7 @@ module ActionMailer #:nodoc: # normal template exists (or if there were no implicit parts) we render # it. template_exists = @parts.empty? - template_exists ||= template_root.find_template("#{mailer_name}/#{@template}") + template_exists ||= template_root.find_by_parts("#{mailer_name}/#{@template}") @body = render_message(@template, @body) if template_exists # Finally, if there are other message parts and a textual body exists, -- cgit v1.2.3