Skip to content

Commit 112a0c9

Browse files
Fix product reviews listing
1 parent cee5ab9 commit 112a0c9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

config/routes/shop/partial/product.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)