diff options
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 2b533ad054..c9f10b359b 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -508,10 +508,7 @@ module ActionMailer def process(*args) #:nodoc: lookup_context.skip_default_locale! - generated_mail = super - unless generated_mail - @_message = NullMail.new - end + @_message = NullMail.new unless super end class NullMail #:nodoc: |