aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-09-02 15:00:22 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-09-03 11:18:57 -0700
commitf3fc5c4b5f36db37edc8ab553a35b06b48226c0a (patch)
tree9d35e907f3ed525f251a78f7579406f82eadf7a1 /actionmailer
parentdd34691b8d04a41e7d2b34df96bfe849057dd093 (diff)
downloadrails-f3fc5c4b5f36db37edc8ab553a35b06b48226c0a.tar.gz
rails-f3fc5c4b5f36db37edc8ab553a35b06b48226c0a.tar.bz2
rails-f3fc5c4b5f36db37edc8ab553a35b06b48226c0a.zip
Refactor ActionView::Resolver
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 5ecefe7c09..065c6c8ba1 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -489,7 +489,7 @@ module ActionMailer #:nodoc:
# "the_template_file.text.html.erb", etc.). Only do this if parts
# have not already been specified manually.
# if @parts.empty?
- template_root.find_all_by_parts(@template, {}, template_path).each do |template|
+ template_root.find_all(@template, {}, template_path).each do |template|
@parts << Part.new(
:content_type => template.mime_type ? template.mime_type.to_s : "text/plain",
:disposition => "inline",