Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf7e9fd

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: [Routing] Fix xml and yaml example for forcing https
2 parents beec921 + 09b0c4c commit cf7e9fd

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

routing.rst

+2-5
Original file line numberDiff line numberDiff line change
@@ -2612,8 +2612,7 @@ defined as annotations:
26122612
controllers:
26132613
resource: '../../src/Controller/'
26142614
type: annotation
2615-
defaults:
2616-
schemes: [https]
2615+
schemes: [https]
26172616
26182617
.. code-block:: xml
26192618
@@ -2624,9 +2623,7 @@ defined as annotations:
26242623
xsi:schemaLocation="http://symfony.com/schema/routing
26252624
https://symfony.com/schema/routing/routing-1.0.xsd">
26262625
2627-
<import resource="../../src/Controller/" type="annotation">
2628-
<default key="schemes">HTTPS</default>
2629-
</import>
2626+
<import resource="../../src/Controller/" type="annotation" schemes="https"/>
26302627
</routes>
26312628
26322629
.. code-block:: php

0 commit comments

Comments
 (0)