We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abc2c9b commit 4d0bdbcCopy full SHA for 4d0bdbc
book/controller.rst
@@ -347,7 +347,7 @@ an example:
347
.. code-block:: yaml
348
349
about:
350
- pattern: /about.html
+ path: /about.html
351
defaults:
352
_controller: FrameworkBundle:Template:template
353
template: 'AcmeBundle:Static:about.html.twig'
@@ -360,7 +360,7 @@ an example:
360
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
361
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
362
363
- <route id="about" pattern="/about.html">
+ <route id="about" path="/about.html">
364
<default key="_controller">FrameworkBundle:Template:template</default>
365
<default key="template">AcmeBundle:Static:about.html.twig</default>
366
</route>
0 commit comments