File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1233,7 +1233,7 @@ and in route imports. Symfony defines some special attributes with the same name
1233
1233
format =" html" >
1234
1234
1235
1235
<requirement key =" _locale" >en|fr</requirement >
1236
- <requirement key =" _format" >html|rss </requirement >
1236
+ <requirement key =" _format" >html|xml </requirement >
1237
1237
1238
1238
</route >
1239
1239
</routes >
@@ -1252,7 +1252,7 @@ and in route imports. Symfony defines some special attributes with the same name
1252
1252
->format('html')
1253
1253
->requirements([
1254
1254
'_locale' => 'en|fr',
1255
- '_format' => 'html|rss ',
1255
+ '_format' => 'html|xml ',
1256
1256
])
1257
1257
;
1258
1258
};
@@ -2042,7 +2042,7 @@ multi-tenant applications) and these parameters can be validated too with
2042
2042
};
2043
2043
2044
2044
In the above example, the ``subdomain `` parameter defines a default value because
2045
- otherwise you need to include a domain value each time you generate a URL using
2045
+ otherwise you need to include a subdomain value each time you generate a URL using
2046
2046
these routes.
2047
2047
2048
2048
.. tip ::
@@ -2062,7 +2062,7 @@ these routes.
2062
2062
[],
2063
2063
['HTTP_HOST' => 'm.example.com']
2064
2064
// or get the value from some configuration parameter:
2065
- // ['HTTP_HOST' => 'm.' . $client->getContainer()->getParameter('domain')]
2065
+ // ['HTTP_HOST' => 'm.'. $client->getContainer()->getParameter('domain')]
2066
2066
);
2067
2067
2068
2068
.. tip ::
@@ -2225,7 +2225,7 @@ with a locale. This can be done by defining a different prefix for each locale
2225
2225
->prefix([
2226
2226
// don't prefix URLs for English, the default locale
2227
2227
'en' => '',
2228
- 'nl' => '/nl'
2228
+ 'nl' => '/nl',
2229
2229
])
2230
2230
;
2231
2231
};
You can’t perform that action at this time.
0 commit comments