From 0b3e154f864c79305f7c280495a1b5005d1f512b Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Fri, 22 Feb 2019 10:08:45 +0100 Subject: [PATCH] use .yaml instead of .yml for examples --- routing/external_resources.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routing/external_resources.rst b/routing/external_resources.rst index 4c45444ec11..dc6e5cb9694 100644 --- a/routing/external_resources.rst +++ b/routing/external_resources.rst @@ -19,7 +19,7 @@ This can be done by importing routing resources from the main routing file: # config/routes.yaml app_file: # loads routes from the given routing file stored in some bundle - resource: '@AcmeOtherBundle/Resources/config/routing.yml' + resource: '@AcmeOtherBundle/Resources/config/routing.yaml' app_annotations: # 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: http://symfony.com/schema/routing/routing-1.0.xsd"> - + @@ -66,7 +66,7 @@ This can be done by importing routing resources from the main routing file: $routes = new RouteCollection(); $routes->addCollection( // loads routes from the given routing file stored in some bundle - $loader->import("@AcmeOtherBundle/Resources/config/routing.yml") + $loader->import("@AcmeOtherBundle/Resources/config/routing.yaml") // loads routes from the PHP annotations of the controllers found in that directory $loader->import("../src/Controller/", "annotation")