Skip to content

Commit 65745c1

Browse files
Lustmoredkbond
andauthored
Make locale prefix optional
Co-authored-by: Kevin Bond <[email protected]>
1 parent 873f3a2 commit 65745c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/LiveComponent/src/Resources/doc/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ Oh, and just one more step! Import a routing file from the bundle:
9999
# config/routes.yaml
100100
live_component:
101101
resource: '@LiveComponentBundle/Resources/config/routing/live_component.xml'
102-
prefix: '/{_locale}' # comment out if your app is not localised
102+
# uncomment to add localization to your components
103+
#prefix: '/{_locale}'
103104
104105
That's it! We're ready!
105106

0 commit comments

Comments
 (0)