Skip to content

Commit

Permalink
New routing for editing wishlist name
Browse files Browse the repository at this point in the history
  • Loading branch information
milwoz committed Aug 11, 2022
1 parent b53ccda commit bac3cb0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Resources/config/routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,7 @@ bitbag_sylius_wishlist_plugin_shop_wishlist_edit_wishlist_name:
path: /wishlists/{id}/edit
methods: [GET, PUT, POST]
defaults:
_controller: bitbag_sylius_wishlist_plugin.controller.wishlist:updateAction
_sylius:
template: '@BitBagSyliusWishlistPlugin/CreateWishlist/index.html.twig'
form:
type: BitBag\SyliusWishlistPlugin\Form\Type\EditWishlistNameType
redirect:
route: bitbag_sylius_wishlist_plugin_shop_wishlist_list_wishlists
_controller: bitbag_sylius_wishlist_plugin.controller.action.update_wishlist_name_action

bitbag_sylius_wishlist_plugin_shop_wishlist_list_wishlists:
path: /wishlists
Expand Down

0 comments on commit bac3cb0

Please sign in to comment.