Skip to content

Commit

Permalink
Merge pull request #4024 from nandita2010/handle-permalink-attribute-…
Browse files Browse the repository at this point in the history
…in-product-create

Handle permalink attribute on product create
  • Loading branch information
kennyadsl authored May 5, 2021
2 parents a1bac19 + 0d31f49 commit 25daae3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions api/openapi/solidus-api.oas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6289,8 +6289,6 @@ components:
type: string
available_on:
type: string
permalink:
type: string
meta_description:
type: string
meta_keywords:
Expand Down
2 changes: 1 addition & 1 deletion core/lib/spree/permitted_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module PermittedAttributes
@@product_properties_attributes = [:property_name, :value, :position]

@@product_attributes = [
:name, :description, :available_on, :discontinue_on, :permalink, :meta_description,
:name, :description, :available_on, :discontinue_on, :meta_description,
:meta_keywords, :price, :sku, :deleted_at,
:option_values_hash, :weight, :height, :width, :depth,
:shipping_category_id, :tax_category_id,
Expand Down

0 comments on commit 25daae3

Please sign in to comment.