Skip to content

Commit 15cb1f7

Browse files
authored
Routing file extension changed to yaml (#387)
* renamed routing file extension * Changed to yaml in tests
1 parent 3a75a0e commit 15cb1f7

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
File renamed without changes.

tests/Functional/config/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
framework:
22
secret: "thisismysecret"
33
router:
4-
resource: "%kernel.root_dir%/config/routing.yml"
4+
resource: "%kernel.root_dir%/config/routing.yaml"
55
strict_requirements: ~
66
form: ~
77
csrf_protection: ~

tests/Functional/config/routing.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# ElFinder file manager
22
elfinder:
3-
resource: "@FMElfinderBundle/Resources/config/routing.yml"
3+
resource: "@FMElfinderBundle/Resources/config/routing.yaml"
44

tests/Twig/Extension/FMElfinderExtensionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function setUp(): void
3737
$this->twig->addExtension($this->extension);
3838
$loader = new YamlFileLoader(new FileLocator(__DIR__.'/../../../src/Resources/config'));
3939
$routes = new RouteCollection();
40-
$collection = $loader->load('routing.yml');
40+
$collection = $loader->load('routing.yaml');
4141
$routes->addCollection($collection);
4242
$this->twig->addExtension(new RoutingExtension(new UrlGenerator($routes, new RequestContext())));
4343
}

0 commit comments

Comments
 (0)