Skip to content

Commit 16bb498

Browse files
committed
[Routing] Fix xml and yaml example for forcing https
1 parent 32770b2 commit 16bb498

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
@@ -2979,8 +2979,7 @@ defined as annotations:
29792979
controllers:
29802980
resource: '../../src/Controller/'
29812981
type: annotation
2982-
defaults:
2983-
schemes: [https]
2982+
schemes: [https]
29842983
29852984
.. code-block:: xml
29862985
@@ -2991,9 +2990,7 @@ defined as annotations:
29912990
xsi:schemaLocation="http://symfony.com/schema/routing
29922991
https://symfony.com/schema/routing/routing-1.0.xsd">
29932992
2994-
<import resource="../../src/Controller/" type="annotation">
2995-
<default key="schemes">HTTPS</default>
2996-
</import>
2993+
<import resource="../../src/Controller/" type="annotation" schemes="https"/>
29972994
</routes>
29982995
29992996
.. code-block:: php

0 commit comments

Comments
 (0)