Fix merge typo in the cancel email method of the order mailer decorator

This commit is contained in:
luisramos0
2019-01-08 15:31:28 +00:00
parent e28f9a7c84
commit 134a51ab1d

View File

@@ -7,7 +7,7 @@ Spree::OrderMailer.class_eval do
def cancel_email(order_or_order_id, resend = false)
@order = find_order(order_or_order_id)
I18n.with_locale valid_locale(@order.user) do
mail(to: order.email,
mail(to: @order.email,
from: from_address,
subject: mail_subject(t('order_mailer.cancel_email.subject'), resend))
end