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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Allow only list and show countries/states
Damian Legawiecba3234c34b63
diff --git a/api/config/routes.rb b/api/config/routes.rbindex 20fd4cd345..1c2c26a765 100644--- a/api/config/routes.rb+++ b/api/config/routes.rb@@ -232,8 +232,8 @@ Spree::Core::Engine.add_routes do# Geo APIresources :zones- resources :countries- resources :states+ resources :countries, only: [:index, :show]+ resources :states, only: [:index, :show]# Shipment APIresources :shipments do