From 8c0c806ce5c1f5f16da4d73033b81644a04addd8 Mon Sep 17 00:00:00 2001 From: 6e0d0a <73163496+6e0d0a@users.noreply.github.com> Date: Thu, 29 Jun 2023 12:43:42 +0200 Subject: [PATCH] Update routing.rst In the i18n configuration you have a small mistake with the host configuration. --- routing.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/routing.rst b/routing.rst index 56f969cc331..3c08ccef960 100644 --- a/routing.rst +++ b/routing.rst @@ -2429,8 +2429,8 @@ locale. resource: '../../src/Controller/' type: annotation host: - en: 'https://www.example.com' - nl: 'https://www.example.nl' + en: 'www.example.com' + nl: 'www.example.nl' .. code-block:: xml @@ -2441,8 +2441,8 @@ locale. xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd"> - https://www.example.com - https://www.example.nl + www.example.com + www.example.nl @@ -2453,8 +2453,8 @@ locale. return function (RoutingConfigurator $routes) { $routes->import('../../src/Controller/', 'annotation') ->host([ - 'en' => 'https://www.example.com', - 'nl' => 'https://www.example.nl', + 'en' => 'www.example.com', + 'nl' => 'www.example.nl', ]) ; };