From 25cb5e3164015c9a8f626b299c86a9f6c7ef1e87 Mon Sep 17 00:00:00 2001 From: nandita2010 Date: Mon, 19 Apr 2021 13:24:50 +0530 Subject: [PATCH] Remove permalink from product permitted attributes and documentation --- api/openapi/solidus-api.oas.yml | 2 -- core/lib/spree/permitted_attributes.rb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/api/openapi/solidus-api.oas.yml b/api/openapi/solidus-api.oas.yml index 04b516d543f..4b6d2f4db08 100644 --- a/api/openapi/solidus-api.oas.yml +++ b/api/openapi/solidus-api.oas.yml @@ -6289,8 +6289,6 @@ components: type: string available_on: type: string - permalink: - type: string meta_description: type: string meta_keywords: diff --git a/core/lib/spree/permitted_attributes.rb b/core/lib/spree/permitted_attributes.rb index c60b2769a6c..9bae1d02948 100644 --- a/core/lib/spree/permitted_attributes.rb +++ b/core/lib/spree/permitted_attributes.rb @@ -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,