Skip to content

Commit 676df76

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: [Routing] added missing "version-added" for i18n routes
2 parents 7ecdba0 + 7d70a14 commit 676df76

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
@@ -1634,6 +1634,10 @@ these routes.
16341634
Localized Routes (i18n)
16351635
-----------------------
16361636

1637+
..version-added:: 4.1
1638+
1639+
The i18n routing has been introduced in Symfony 4.1.
1640+
16371641
If your application is translated into multiple languages, each route can define
16381642
a different URL per each :doc:`translation locale </translation/locale>`. This
16391643
avoids the need for duplicating routes, which also reduces the potential bugs:

0 commit comments

Comments
 (0)