Skip to content

Commit bb71b80

Browse files
committed
minor symfony#11031 use .yaml instead of .yml for examples (OskarStark)
This PR was merged into the 4.2 branch. Discussion ---------- use .yaml instead of .yml for examples Commits ------- 0b3e154 use .yaml instead of .yml for examples
2 parents b131171 + 0b3e154 commit bb71b80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

routing/external_resources.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This can be done by importing routing resources from the main routing file:
1919
# config/routes.yaml
2020
app_file:
2121
# loads routes from the given routing file stored in some bundle
22-
resource: '@AcmeOtherBundle/Resources/config/routing.yml'
22+
resource: '@AcmeOtherBundle/Resources/config/routing.yaml'
2323
2424
app_annotations:
2525
# loads routes from the PHP annotations of the controllers found in that directory
@@ -46,7 +46,7 @@ This can be done by importing routing resources from the main routing file:
4646
http://symfony.com/schema/routing/routing-1.0.xsd">
4747
4848
<!-- loads routes from the given routing file stored in some bundle -->
49-
<import resource="@AcmeOtherBundle/Resources/config/routing.yml" />
49+
<import resource="@AcmeOtherBundle/Resources/config/routing.yaml" />
5050
5151
<!-- loads routes from the PHP annotations of the controllers found in that directory -->
5252
<import resource="../src/Controller/" type="annotation" />
@@ -66,7 +66,7 @@ This can be done by importing routing resources from the main routing file:
6666
$routes = new RouteCollection();
6767
$routes->addCollection(
6868
// loads routes from the given routing file stored in some bundle
69-
$loader->import("@AcmeOtherBundle/Resources/config/routing.yml")
69+
$loader->import("@AcmeOtherBundle/Resources/config/routing.yaml")
7070
7171
// loads routes from the PHP annotations of the controllers found in that directory
7272
$loader->import("../src/Controller/", "annotation")

0 commit comments

Comments
 (0)