8000 Update custom_route_loader.rst by atailouloute · Pull Request #9533 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Update custom_route_loader.rst #9533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2018
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
0