Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2fdd8d7

Browse filesBrowse files
committed
Fix lint errors
1 parent 1eac1c7 commit 2fdd8d7
Copy full SHA for 2fdd8d7

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

‎routing.rst

Copy file name to clipboardExpand all lines: routing.rst
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,14 +2217,17 @@ locale.
22172217
.. configuration-block::
22182218

22192219
.. code-block:: yaml
2220+
22202221
# config/routes/annotations.yaml
22212222
controllers:
22222223
resource: '../../src/Controller/'
22232224
type: annotation
22242225
host:
22252226
en: 'https://www.symfony.com'
22262227
nl: 'https://www.symfony.nl'
2228+
22272229
.. code-block:: xml
2230+
22282231
<!-- config/routes/annotations.xml -->
22292232
<?xml version="1.0" encoding="UTF-8" ?>
22302233
<routes xmlns="http://symfony.com/schema/routing"
@@ -2236,7 +2239,9 @@ locale.
22362239
<host locale="nl">https://www.symfony.nl</host>
22372240
</import>
22382241
</routes>
2242+
22392243
.. code-block:: php
2244+
22402245
// config/routes/annotations.php
22412246
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
22422247
return function (RoutingConfigurator $routes) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.