lib/jpmobile/mailer.rb in jpmobile-2.0.11 vs lib/jpmobile/mailer.rb in jpmobile-3.0.0
- old
+ new
@@ -19,10 +19,10 @@
(Jpmobile::Email.detect(tos.first) || Jpmobile::Mobile::AbstractMobile).new(nil, nil)
else
# for multi to addresses
Jpmobile::Mobile::AbstractMobile.new(nil, nil)
end
- self.lookup_context.mobile = @mobile.mail_variants
+ self.lookup_context.mobile = @mobile.variants
@mobile.decorated = headers.delete(:decorated)
m = super(headers, &block)