Skip to content

Commit 7d70a14

Browse files
committed
minor #13366 [Routing] added missing "version-added" for i18n routes (HeahDude)
This PR was merged into the 4.4 branch. Discussion ---------- [Routing] added missing "version-added" for i18n routes To revert in 5.0. Commits ------- c651749 [Routing] added missing "version-added" for i18n routes
2 parents f2190aa + c651749 commit 7d70a14

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)