Skip to content

Commit 39084e7

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [Routing] Fix xml and yaml example for forcing https
2 parents cfe1e2a + cf7e9fd commit 39084e7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

routing.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2613,7 +2613,7 @@ defined as annotations:
26132613
resource: '../../src/Controller/'
26142614
type: attribute
26152615
defaults:
2616-
schemes: [https]
2616+
schemes: [https]
26172617
26182618
.. code-block:: xml
26192619
@@ -2624,9 +2624,7 @@ defined as annotations:
26242624
xsi:schemaLocation="http://symfony.com/schema/routing
26252625
https://symfony.com/schema/routing/routing-1.0.xsd">
26262626
2627-
<import resource="../../src/Controller/" type="attribute">
2628-
<default key="schemes">HTTPS</default>
2629-
</import>
2627+
<import resource="../../src/Controller/" type="attribute" schemes="https"/>
26302628
</routes>
26312629
26322630
.. code-block:: php

0 commit comments

Comments
 (0)