Skip to content

Commit 94ea2e5

Browse files
committed
Syntax fix
1 parent db5eac1 commit 94ea2e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/routing.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ If the file is found, the loader returns a :class:`Symfony\\Component\\Routing\\
186186
If you're using the ``YamlFileLoader``, then route definitions look like this:
187187

188188
.. code-block:: yaml
189+
189190
# routes.yaml
190191
route1:
191192
path: /foo
@@ -195,6 +196,7 @@ If you're using the ``YamlFileLoader``, then route definitions look like this:
195196
path: /foo/bar
196197
controller: FooBarInvokableController
197198
methods: PUT
199+
198200
To load this file, you can use the following code. This assumes that your
199201
``routes.yaml`` file is in the same directory as the below code::
200202

0 commit comments

Comments
 (0)