diff --git a/config/routes/shop/ajax/cart.yml b/config/routes/shop/ajax/cart.yml index 4922808..497147e 100644 --- a/config/routes/shop/ajax/cart.yml +++ b/config/routes/shop/ajax/cart.yml @@ -19,12 +19,3 @@ sylius_shop_ajax_cart_add_item: route: sylius_shop_cart_summary parameters: {} flash: sylius.cart.add_item - -#sylius_shop_ajax_cart_item_remove: -# path: /{id}/remove -# methods: [DELETE] -# defaults: -# _controller: sylius.controller.order_item::removeAction -# _format: json -# _sylius: -# flash: sylius.cart.remove_item diff --git a/config/routes/shop/partial/taxon.yml b/config/routes/shop/partial/taxon.yml index e4b9cb4..06676c8 100644 --- a/config/routes/shop/partial/taxon.yml +++ b/config/routes/shop/partial/taxon.yml @@ -16,18 +16,18 @@ sylius_shop_partial_taxon_show_by_slug: requirements: slug: .+ -#sylius_shop_partial_taxon_index_by_code: -# path: /by-code/{code} -# methods: [GET] -# defaults: -# _controller: sylius.controller.taxon::indexAction -# _sylius: -# template: $template -# repository: -# method: findChildren -# arguments: -# - $code -# - "expr:service('sylius.context.locale').getLocaleCode()" +sylius_shop_partial_taxon_index_by_code: + path: /by-code/{code} + methods: [GET] + defaults: + _controller: sylius.controller.taxon::indexAction + _sylius: + template: $template + repository: + method: findChildren + arguments: + - $code + - "expr:service('sylius.context.locale').getLocaleCode()" sylius_shop_partial_channel_menu_taxon_index: path: /by-channel-menu-taxon/