Skip to content

Commit

Permalink
[NamedCarts] add routes
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed May 10, 2024
1 parent 3ae20c8 commit 3a0118a
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,22 @@ routes:
variables: _locale,item
priority: 3

coreshop_cart_select:
pattern: '/(\w+)\/shop\/cart\/select/'
reverse: '/%_locale/shop/cart/select'
controller: 'CoreShop\Bundle\FrontendBundle\Controller\CartController::selectNamedCartAction'
variables: _locale
methods:
- POST
priority: 3

coreshop_cart_create_named:
name: coreshop_cart_create_named
pattern: '/(\w+)\/shop\/cart\/create$/'
reverse: '/%_locale/shop/cart/create'
controller: 'CoreShop\Bundle\FrontendBundle\Controller\CartController::createNamedCartAction'
variables: '_locale'
methods:
- POST
- GET
priority: 3

0 comments on commit 3a0118a

Please sign in to comment.