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.

Update index.html.erb

Damian Legawiec1af151363cd5
diff --git a/admin/app/views/spree/admin/exports/index.html.erb b/admin/app/views/spree/admin/exports/index.html.erb
index af0216d99a..e60d98db87 100644
--- a/admin/app/views/spree/admin/exports/index.html.erb
+++ b/admin/app/views/spree/admin/exports/index.html.erb
@@ -23,7 +23,7 @@
</div>
<% else %>
<div class="text-muted p-5 d-flex align-items-center w-100 justify-content-center">
- <%= Spree.t(:no_resource_found, resource: Spree.t('admin.exports.plural_resource_name')) %>
+ <%= Spree.t(:no_resource_found, resource: plural_resource_name(model_class)) %>
</div>
<% end %>