File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,14 +73,14 @@ and configure the service and method to call:
73
73
74
74
.. code-block :: yaml
75
75
76
- # config/routing .yaml
76
+ # config/routes .yaml
77
77
admin_routes :
78
78
resource : ' admin_route_loader:loadRoutes'
79
79
type : service
80
80
81
81
.. code-block :: xml
82
82
83
- <!-- config/routing .xml -->
83
+ <!-- config/routes .xml -->
84
84
<?xml version =" 1.0" encoding =" UTF-8" ?>
85
85
<routes xmlns =" http://symfony.com/schema/routing"
86
86
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -92,7 +92,7 @@ and configure the service and method to call:
92
92
93
93
.. code-block :: php
94
94
95
- // config/routing .php
95
+ // config/routes .php
96
96
use Symfony\Component\Routing\RouteCollection;
97
97
98
98
$routes = new RouteCollection();
@@ -306,7 +306,7 @@ configuration file - you can call the
306
306
{
307
307
$routes = new RouteCollection();
308
308
309
- $resource = '@ThirdPartyBundle/Resources/config/routing .yaml';
309
+ $resource = '@ThirdPartyBundle/Resources/config/routes .yaml';
310
310
$type = 'yaml';
311
311
312
312
$importedRoutes = $this->import($resource, $type);
You can’t perform that action at this time.
0 commit comments