File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
config/routes/shop/partial Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ sylius_shop_partial_product_index_latest:
1515 - " expr:service('sylius.context.locale').getLocaleCode()"
1616 - ' !!int $count'
1717
18- # sylius_shop_partial_product_show_by_slug:
19- # path: /{slug}
20- # methods: [GET]
21- # defaults:
22- # _controller: sylius.controller.product::showAction
23- # _sylius:
24- # template: $template
25- # repository:
26- # method: findOneByChannelAndSlug
27- # arguments:
28- # - "expr:service('sylius.context.channel').getChannel()"
29- # - "expr:service('sylius.context.locale').getLocaleCode()"
30- # - $slug
18+ sylius_shop_partial_product_show_by_slug :
19+ path : /{slug}
20+ methods : [GET]
21+ defaults :
22+ _controller : sylius.controller.product::showAction
23+ _sylius :
24+ template : $template
25+ repository :
26+ method : findOneByChannelAndSlug
27+ arguments :
28+ - " expr:service('sylius.context.channel').getChannel()"
29+ - " expr:service('sylius.context.locale').getLocaleCode()"
30+ - $slug
You can’t perform that action at this time.
0 commit comments