8000 [#9533] Changed routing.yaml to routes.yaml for consistency with Flex · symfony/symfony-docs@b3d0a68 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3d0a68

Browse files
committed
[#9533] Changed routing.yaml to routes.yaml for consistency with Flex
1 parent a1b4f84 commit b3d0a68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

routing/custom_route_loader.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ and configure the service and method to call:
7373

7474
.. code-block:: yaml
7575
76-
# config/routing.yaml
76+
# config/routes.yaml
7777
admin_routes:
7878
resource: 'admin_route_loader:loadRoutes'
7979
type: service
8080
8181
.. code-block:: xml
8282
83-
<!-- config/routing.xml -->
83+
<!-- config/routes.xml -->
8484
<?xml version="1.0" encoding="UTF-8" ?>
8585
<routes xmlns="http://symfony.com/schema/routing"
8686
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -92,7 +92,7 @@ and configure the service and method to call:
9292
9393
.. code-block:: php
9494
95-
// config/routing.php
95+
// config/routes.php
9696
use Symfony\Component\Routing\RouteCollection;
9797
9898
$routes = new RouteCollection();
@@ -306,7 +306,7 @@ configuration file - you can call the
306306
{
307307
$routes = new RouteCollection();
308308

309-
$resource = '@ThirdPartyBundle/Resources/config/routing.yaml';
309+
$resource = '@ThirdPartyBundle/Resources/config/routes.yaml';
310310
$type = 'yaml';
311311

312312
$importedRoutes = $this->import($resource, $type);

0 commit comments

Comments
 (0)
0