Permalink
Browse files

Merge pull request #7469 from kennyj/fix_many_warnings_in_am

Fixes warnings when executing rake test in ActionMailer.
  • Loading branch information...
josevalim committed Aug 28, 2012
2 parents 52c0bf9 + 167f250 commit 1ef9b7ec7834ef3d01df72230b1e1768bfbf46f2
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionmailer/lib/action_mailer/base.rb
@@ -756,7 +756,7 @@ def collect_responses_and_parts_order(headers) #:nodoc:
responses << {
:body => render(:template => template),
- :content_type => template.mime_type.to_s
+ :content_type => template.type.to_s
}
end
end

0 comments on commit 1ef9b7e

Please sign in to comment.