Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fix the link in the export mailer message (#12316)

Łukasz Adamczyk96a4dee194fa
diff --git a/core/app/views/spree/export_mailer/export_done.html.erb b/core/app/views/spree/export_mailer/export_done.html.erb
index 14cef746bb..a57a976a80 100644
--- a/core/app/views/spree/export_mailer/export_done.html.erb
+++ b/core/app/views/spree/export_mailer/export_done.html.erb
@@ -6,7 +6,7 @@
</p>
<% if spree.respond_to?(:admin_export_url) %>
<p>
- <%= link_to @export.attachment.filename, spree.admin_export_url(@export) %>
+ <%= link_to @export.attachment.filename, spree.admin_export_url(@export, host: @current_store.formatted_url) %>
</p>
<% end %>
<p>