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 to preserve theme name plural in generator (#12484)

Chris4c6092b574c8
diff --git a/storefront/lib/generators/spree/storefront/theme/theme_generator.rb b/storefront/lib/generators/spree/storefront/theme/theme_generator.rb
index 14fc349600..30c36f6a37 100644
--- a/storefront/lib/generators/spree/storefront/theme/theme_generator.rb
+++ b/storefront/lib/generators/spree/storefront/theme/theme_generator.rb
@@ -28,7 +28,7 @@ module Spree
no_tasks do
def class_name
- name.classify
+ name.camelize
end
def file_name