Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions routing/custom_route_loader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ and configure the service and method to call:

.. code-block:: yaml

# app/config/routing.yml
# config/routing.yaml
admin_routes:
resource: 'admin_route_loader:loadRoutes'
type: service

.. code-block:: xml

<!-- app/config/routing.xml -->
<!-- config/routing.xml -->
<?xml version="1.0" encoding="UTF-8" ?>
<routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand All @@ -92,7 +92,7 @@ and configure the service and method to call:

.. code-block:: php

// app/config/routing.php
// config/routing.php
use Symfony\Component\Routing\RouteCollection;

$routes = new RouteCollection();
Expand Down