Skip to content

Commit 9c2fb45

Browse files
raitoczxabbuh
authored andcommitted
Added filename references to examples
1 parent 15ac7d6 commit 9c2fb45

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

routing/scheme.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ the URI scheme via schemes:
1111
.. configuration-block::
1212

1313
.. code-block:: yaml
14-
14+
15+
# app/config/routing.yml
1516
secure:
1617
path: /secure
1718
defaults: { _controller: AppBundle:Main:secure }
1819
schemes: [https]
1920
2021
.. code-block:: xml
2122
23+
<!-- app/config/routing.xml -->
2224
<?xml version="1.0" encoding="UTF-8" ?>
2325
2426
<routes xmlns="http://symfony.com/schema/routing"
@@ -32,6 +34,7 @@ the URI scheme via schemes:
3234
3335
.. code-block:: php
3436
37+
// app/config/routing.php
3538
use Symfony\Component\Routing\RouteCollection;
3639
use Symfony\Component\Routing\Route;
3740

0 commit comments

Comments
 (0)