From 3630120fbc645fe0ca83ee049c4723e811a4ec8b Mon Sep 17 00:00:00 2001 From: Mateusz Deszert-Klosowski Date: Tue, 5 Mar 2024 14:18:42 +0100 Subject: [PATCH] Fix misnamed route --- src/Controller/OrderItemController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/OrderItemController.php b/src/Controller/OrderItemController.php index ac651e28..dbe0dc58 100644 --- a/src/Controller/OrderItemController.php +++ b/src/Controller/OrderItemController.php @@ -74,7 +74,7 @@ public function addAction(Request $request): Response return new Response($this->generateUrl('sylius_shop_homepage')); } - return new Response($this->generateUrl('bitbag_sylius_wishlist_plugin_shop_locale_locale_wishlist_add_product_variant', [ + return new Response($this->generateUrl('bitbag_sylius_wishlist_plugin_shop_locale_wishlist_add_product_variant', [ 'wishlistId' => $wishlist->getId(), 'variantId' => $variant->getId(), ]));