lib/ahoy_email/mailer.rb in ahoy_email-0.1.5 vs lib/ahoy_email/mailer.rb in ahoy_email-0.2.0

- old
+ new

@@ -10,15 +10,15 @@ end end module ClassMethods def track(options) - self.ahoy_options = ahoy_options.merge(options) + self.ahoy_options = ahoy_options.merge(message: true).merge(options) end end def track(options) - @ahoy_options = (@ahoy_options || {}).merge(options) + @ahoy_options = (@ahoy_options || {}).merge(message: true).merge(options) end def mail_with_ahoy(headers = {}, &block) message = mail_without_ahoy(headers, &block)