Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 09b0c4c

Browse filesBrowse files
committed
bug #18757 [Routing] Fix xml and yaml example for forcing https (tugmaks)
This PR was merged into the 5.4 branch. Discussion ---------- [Routing] Fix xml and yaml example for forcing https php code example works fine, but xml and yaml are not, this pr fixes it. Commits ------- 16bb498 [Routing] Fix xml and yaml example for forcing https
2 parents aa28926 + 16bb498 commit 09b0c4c
Copy full SHA for 09b0c4c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-5
lines changed

‎routing.rst

Copy file name to clipboardExpand all lines: routing.rst
+2-5Lines changed: 2 additions & 5 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.