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.

Storefront - Wished Items endpoint - remove skipping authenticity tok… (#12743)

Damian Legawiecb5416529a894
diff --git a/storefront/app/controllers/spree/account/wished_items_controller.rb b/storefront/app/controllers/spree/account/wished_items_controller.rb
index 15ddcbd5ae..989369e29c 100644
--- a/storefront/app/controllers/spree/account/wished_items_controller.rb
+++ b/storefront/app/controllers/spree/account/wished_items_controller.rb
@@ -1,8 +1,6 @@
module Spree
module Account
class WishedItemsController < BaseController
- skip_before_action :verify_authenticity_token
-
# POST /account/wished_items
def create
variant = current_store.variants.find(wished_item_params[:variant_id])