Skip to content

Commit e6f9e62

Browse files
committed
minor #18467 [Routing] Update routing.rst (6e0d0a)
This PR was submitted for the 6.4 branch but it was merged into the 5.4 branch instead. Discussion ---------- [Routing] Update routing.rst In the i18n configuration you have a small mistake with the host configuration. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 8c0c806 Update routing.rst
2 parents e48b20d + 8c0c806 commit e6f9e62

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

routing.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2429,8 +2429,8 @@ locale.
24292429
resource: '../../src/Controller/'
24302430
type: annotation
24312431
host:
2432-
en: 'https://www.example.com'
2433-
nl: 'https://www.example.nl'
2432+
en: 'www.example.com'
2433+
nl: 'www.example.nl'
24342434
24352435
.. code-block:: xml
24362436
@@ -2441,8 +2441,8 @@ locale.
24412441
xsi:schemaLocation="http://symfony.com/schema/routing
24422442
https://symfony.com/schema/routing/routing-1.0.xsd">
24432443
<import resource="../../src/Controller/" type="annotation">
2444-
<host locale="en">https://www.example.com</host>
2445-
<host locale="nl">https://www.example.nl</host>
2444+
<host locale="en">www.example.com</host>
2445+
<host locale="nl">www.example.nl</host>
24462446
</import>
24472447
</routes>
24482448
@@ -2453,8 +2453,8 @@ locale.
24532453
return function (RoutingConfigurator $routes) {
24542454
$routes->import('../../src/Controller/', 'annotation')
24552455
->host([
2456-
'en' => 'https://www.example.com',
2457-
'nl' => 'https://www.example.nl',
2456+
'en' => 'www.example.com',
2457+
'nl' => 'www.example.nl',
24582458
])
24592459
;
24602460
};

0 commit comments

Comments
 (0)