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
953953 format =" html" >
954954
955955 <requirement key =" _locale" >en|fr</requirement >
956- <requirement key =" _format" >html|rss </requirement >
956+ <requirement key =" _format" >html|xml </requirement >
957957
958958 </route >
959959 </routes >
@@ -972,7 +972,7 @@ and in route imports. Symfony defines some special attributes with the same name
972972 ->format('html')
973973 ->requirements([
974974 '_locale' => 'en|fr',
975- '_format' => 'html|rss ',
975+ '_format' => 'html|xml ',
976976 ])
977977 ;
978978 };
@@ -1662,7 +1662,7 @@ multi-tenant applications) and these parameters can be validated too with
16621662 };
16631663
16641664 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
16661666these routes.
16671667
16681668.. tip ::
@@ -1682,7 +1682,7 @@ these routes.
16821682 [],
16831683 ['HTTP_HOST' => 'm.example.com']
16841684 // or get the value from some configuration parameter:
1685- // ['HTTP_HOST' => 'm.' . $client->getContainer()->getParameter('domain')]
1685+ // ['HTTP_HOST' => 'm.'. $client->getContainer()->getParameter('domain')]
16861686 );
16871687
16881688.. _i18n-routing :
@@ -1813,7 +1813,7 @@ with a locale. This can be done by defining a different prefix for each locale
18131813 ->prefix([
18141814 // don't prefix URLs for English, the default locale
18151815 'en' => '',
1816- 'nl' => '/nl'
1816+ 'nl' => '/nl',
18171817 ])
18181818 ;
18191819 };
You can’t perform that action at this time.
0 commit comments