Skip to content

Commit f368523

Browse files
committed
Merge branch '2.3' into 2.4
2 parents bc0fe91 + 302fa82 commit f368523

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/routing/hostname_pattern.rst

Lines 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)