Skip to content

Commit 4d0bdbc

Browse files
saro0hweaverryan
authored andcommitted
Fixed path option
1 parent abc2c9b commit 4d0bdbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ an example:
347347
.. code-block:: yaml
348348
349349
about:
350-
pattern: /about.html
350+
path: /about.html
351351
defaults:
352352
_controller: FrameworkBundle:Template:template
353353
template: 'AcmeBundle:Static:about.html.twig'
@@ -360,7 +360,7 @@ an example:
360360
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
361361
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
362362
363-
<route id="about" pattern="/about.html">
363+
<route id="about" path="/about.html">
364364
<default key="_controller">FrameworkBundle:Template:template</default>
365365
<default key="template">AcmeBundle:Static:about.html.twig</default>
366366
</route>

0 commit comments

Comments
 (0)