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 302fa82

Browse filesBrowse files
committed
minor #3872 Update hostname_pattern.rst (sofany)
This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closes #3872). Discussion ---------- Update hostname_pattern.rst Error in xml Commits ------- 1baf2db Update hostname_pattern.rst
2 parents 0649c21 + ff7d09e commit 302fa82
Copy full SHA for 302fa82

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎components/routing/hostname_pattern.rst

Copy file name to clipboardExpand all lines: components/routing/hostname_pattern.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ instance, if you want to match both ``m.example.com`` and
212212
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
213213
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
214214
215-
<route id="mobile_homepage" path="/" host="m.example.com">
215+
<route id="mobile_homepage" path="/" host="m.{domain}">
216216
<default key="_controller">AcmeDemoBundle:Main:mobileHomepage</default>
217-
<default key="domain">%domain%</requirement>
217+
<default key="domain">%domain%</default>
218218
<requirement key="domain">%domain%</requirement>
219219
</route>
220220

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.