From 16bb4988c9e1c3c088f967eb33e70c32b50a51fa Mon Sep 17 00:00:00 2001 From: Maksim Tiugaev Date: Wed, 16 Aug 2023 22:00:54 +0300 Subject: [PATCH] [Routing] Fix xml and yaml example for forcing https --- routing.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/routing.rst b/routing.rst index ad7062e5fa5..f4116bd2158 100644 --- a/routing.rst +++ b/routing.rst @@ -2979,8 +2979,7 @@ defined as annotations: controllers: resource: '../../src/Controller/' type: annotation - defaults: - schemes: [https] + schemes: [https] .. code-block:: xml @@ -2991,9 +2990,7 @@ defined as annotations: xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd"> - - HTTPS - + .. code-block:: php