aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorCarl Lerche & Yehuda Katz <wycats@gmail.com>2009-04-14 17:22:51 -0700
committerCarl Lerche & Yehuda Katz <wycats@gmail.com>2009-04-14 18:32:31 -0700
commit3c1187699a80e0c4a003f5693389595cd644390f (patch)
tree3fc026e57412f4d145d5df314b4c6ce468ab84c1 /actionmailer
parent109a3876f09cb6b51a6da4d517bd6e3ea30380da (diff)
downloadrails-3c1187699a80e0c4a003f5693389595cd644390f.tar.gz
rails-3c1187699a80e0c4a003f5693389595cd644390f.tar.bz2
rails-3c1187699a80e0c4a003f5693389595cd644390f.zip
Makes rails-dev-boost work again
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/lib/action_mailer/base.rb2
1 files changed, 1 insertions, 1 deletions
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,