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
Permit `asset` param in PageBlocksController (#12831)
Gabriel Zortéa Lovison1a0822d7ee6c
diff --git a/core/lib/spree/permitted_attributes.rb b/core/lib/spree/permitted_attributes.rbindex 1eaf510b07..20b1005d08 100644--- a/core/lib/spree/permitted_attributes.rb+++ b/core/lib/spree/permitted_attributes.rb@@ -127,7 +127,7 @@ module Spree@@page_attributes = [:name, :slug, :meta_title, :meta_description, :meta_keywords]- @@page_block_attributes = [:type, :name, :text, :position]+ @@page_block_attributes = [:type, :name, :text, :position, :asset]@@page_link_attributes = [:linkable_id, :linkable_type, :position, :label, :url, :open_in_new_tab]