Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bb71b80

Browse filesBrowse files
committed
minor #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
Copy full SHA for bb71b80

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎routing/external_resources.rst

Copy file name to clipboardExpand all lines: routing/external_resources.rst
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.