diff options
author | kennyj <kennyj@gmail.com> | 2012-08-29 01:57:44 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-08-29 01:57:44 +0900 |
commit | 167f250d98a9a7e5895176b134d337c0a34560f1 (patch) | |
tree | cd230621565105f83721a330f90b77234f7af930 | |
parent | 52c0bf9843819b3a75d2bac2b8181966508913bc (diff) | |
download | rails-167f250d98a9a7e5895176b134d337c0a34560f1.tar.gz rails-167f250d98a9a7e5895176b134d337c0a34560f1.tar.bz2 rails-167f250d98a9a7e5895176b134d337c0a34560f1.zip |
Fixes warnings when executing rake test in ActionMailer. Related to 582a7f459990487659886b90e54c22e055c65870
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 900da9697e..f5c325179f 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -756,7 +756,7 @@ module ActionMailer #:nodoc: responses << { :body => render(:template => template), - :content_type => template.mime_type.to_s + :content_type => template.type.to_s } end end |