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 misspelling in of class name constant.

Matthew Kennedy9ba67cf43205
diff --git a/core/app/models/spree/store.rb b/core/app/models/spree/store.rb
index ed35135727..e32edaeaf7 100644
--- a/core/app/models/spree/store.rb
+++ b/core/app/models/spree/store.rb
@@ -13,7 +13,8 @@ module Spree
has_many :store_payment_methods, class_name: 'Spree::StorePaymentMethod'
has_many :payment_methods, through: :store_payment_methods, class_name: 'Spree::PaymentMethod'
- has_many :cms_pages, class_name: 'Spree::CMSPage'
+ has_many :cms_pages, class_name: 'Spree::CmsPage'
+
has_many :menus, class_name: 'Spree::Menu'
has_many :menu_items, through: :menus, class_name: 'Spree::MenuItem'