File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -953,7 +953,7 @@ and in route imports. Symfony defines some special attributes with the same name
953
953
format =" html" >
954
954
955
955
<requirement key =" _locale" >en|fr</requirement >
956
- <requirement key =" _format" >html|rss </requirement >
956
+ <requirement key =" _format" >html|xml </requirement >
957
957
958
958
</route >
959
959
</routes >
@@ -972,7 +972,7 @@ and in route imports. Symfony defines some special attributes with the same name
972
972
->format('html')
973
973
->requirements([
974
974
'_locale' => 'en|fr',
975
- '_format' => 'html|rss ',
975
+ '_format' => 'html|xml ',
976
976
])
977
977
;
978
978
};
@@ -1662,7 +1662,7 @@ multi-tenant applications) and these parameters can be validated too with
1662
1662
};
1663
1663
1664
1664
In the above example, the ``subdomain `` parameter defines a default value because
1665
- otherwise you need to include a domain value each time you generate a URL using
1665
+ otherwise you need to include a subdomain value each time you generate a URL using
1666
1666
these routes.
1667
1667
1668
1668
.. tip ::
@@ -1682,7 +1682,7 @@ these routes.
1682
1682
[],
1683
1683
['HTTP_HOST' => 'm.example.com']
1684
1684
// or get the value from some configuration parameter:
1685
- // ['HTTP_HOST' => 'm.' . $client->getContainer()->getParameter('domain')]
1685
+ // ['HTTP_HOST' => 'm.'. $client->getContainer()->getParameter('domain')]
1686
1686
);
1687
1687
1688
1688
.. _i18n-routing :
@@ -1813,7 +1813,7 @@ with a locale. This can be done by defining a different prefix for each locale
1813
1813
->prefix([
1814
1814
// don't prefix URLs for English, the default locale
1815
1815
'en' => '',
1816
- 'nl' => '/nl'
1816
+ 'nl' => '/nl',
1817
1817
])
1818
1818
;
1819
1819
};
You can’t perform that action at this time.
0 commit comments