Skip to content

Commit 3cfdaf9

Browse files
committed
Add locale to live_component route
1 parent 3a3dbb1 commit 3cfdaf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/src/Resources/config/routing/live_component.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd">
66

7-
<route id="live_component" path="/_components/{component}/{action}">
7+
<route id="live_component" path="/_components/{_locale}/{component}/{action}">
88
<default key="action">get</default>
99
</route>
1010
</routes>

0 commit comments

Comments
 (0)