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 15ac7d6 commit 9c2fb45Copy full SHA for 9c2fb45
routing/scheme.rst
@@ -11,14 +11,16 @@ the URI scheme via schemes:
11
.. configuration-block::
12
13
.. code-block:: yaml
14
-
+
15
+ # app/config/routing.yml
16
secure:
17
path: /secure
18
defaults: { _controller: AppBundle:Main:secure }
19
schemes: [https]
20
21
.. code-block:: xml
22
23
+ <!-- app/config/routing.xml -->
24
<?xml version="1.0" encoding="UTF-8" ?>
25
26
<routes xmlns="http://symfony.com/schema/routing"
@@ -32,6 +34,7 @@ the URI scheme via schemes:
32
34
33
35
.. code-block:: php
36
37
+ // app/config/routing.php
38
use Symfony\Component\Routing\RouteCollection;
39
use Symfony\Component\Routing\Route;
40
0 commit comments