Skip to content

Commit c651749

Browse files
committed
[Routing] added missing "version-added" for i18n routes
1 parent f2190aa commit c651749

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

routing.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ following configuration file:
3838
controllers:
3939
resource: '../../src/Controller/'
4040
type: annotation
41-
41+
4242
kernel:
4343
resource: ../../src/Kernel.php
4444
type: annotation
@@ -1655,6 +1655,10 @@ these routes.
16551655
Localized Routes (i18n)
16561656
-----------------------
16571657

1658+
..version-added:: 4.1
1659+
1660+
The i18n routing has been introduced in Symfony 4.1.
1661+
16581662
If your application is translated into multiple languages, each route can define
16591663
a different URL per each :doc:`translation locale </translation/locale>`. This
16601664
avoids the need for duplicating routes, which also reduces the potential bugs:

0 commit comments

Comments
 (0)