Skip to content

Commit b38edbc

Browse files
committed
[#2248] Changing pattern -> path after a merge per @wouterj
1 parent c446279 commit b38edbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/configuration/apache_router.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ To test that it's working, let's create a very basic route for demo bundle:
6060
6161
# app/config/routing.yml
6262
hello:
63-
pattern: /hello/{name}
63+
path: /hello/{name}
6464
defaults: { _controller: AcmeDemoBundle:Demo:hello }
6565
6666
.. code-block:: xml
6767
6868
<!-- app/config/routing.xml -->
69-
<route id="hello" pattern="/hello/{name}">
69+
<route id="hello" path="/hello/{name}">
7070
<default key="_controller">AcmeDemoBundle:Demo:hello</default>
7171
</route>
7272

0 commit comments

Comments
 (0)