Permalink
Browse files

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
  • Loading branch information...
weaverryan committed May 30, 2014
2 parents 0649c21 + ff7d09e commit 302fa8254f6ae1c4777e90db58503ef5d145816e
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/routing/hostname_pattern.rst
@@ -212,9 +212,9 @@ instance, if you want to match both ``m.example.com`` and
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="mobile_homepage" path="/" host="m.example.com">
<route id="mobile_homepage" path="/" host="m.{domain}">
<default key="_controller">AcmeDemoBundle:Main:mobileHomepage</default>
<default key="domain">%domain%</requirement>
<default key="domain">%domain%</default>
<requirement key="domain">%domain%</requirement>
</route>

0 comments on commit 302fa82

Please sign in to comment.