From dd4ca8a8e6b4356c16d1d32b7f32180f87c221be Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Sat, 23 Jan 2021 14:18:22 +0000 Subject: [PATCH] Fix order path in subs emailer view --- app/views/subscription_mailer/_summary_detail.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/subscription_mailer/_summary_detail.html.haml b/app/views/subscription_mailer/_summary_detail.html.haml index 8f4bf7b906..66efd0b8b1 100644 --- a/app/views/subscription_mailer/_summary_detail.html.haml +++ b/app/views/subscription_mailer/_summary_detail.html.haml @@ -6,7 +6,7 @@ - separator = messages.values.any? ? ": " : ", " - orders.each_with_index do |order, i| - %a{ href: spree.order_url(order) }>= order.number + %a{ href: spree_order_url(order) }>= order.number = separator if messages.values.any? || i < orders.count - 1 - if messages.values.any? = messages[order.id] || t(".no_message_provided")