Skip to content

Commit

Permalink
Routing file extension changed to yaml (#387)
Browse files Browse the repository at this point in the history
* renamed routing file extension

* Changed to yaml in tests
  • Loading branch information
helios-ag authored Jan 14, 2020
1 parent 3a75a0e commit 15cb1f7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/Functional/config/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
framework:
secret: "thisismysecret"
router:
resource: "%kernel.root_dir%/config/routing.yml"
resource: "%kernel.root_dir%/config/routing.yaml"
strict_requirements: ~
form: ~
csrf_protection: ~
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/config/routing.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ElFinder file manager
elfinder:
resource: "@FMElfinderBundle/Resources/config/routing.yml"
resource: "@FMElfinderBundle/Resources/config/routing.yaml"

2 changes: 1 addition & 1 deletion tests/Twig/Extension/FMElfinderExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected function setUp(): void
$this->twig->addExtension($this->extension);
$loader = new YamlFileLoader(new FileLocator(__DIR__.'/../../../src/Resources/config'));
$routes = new RouteCollection();
$collection = $loader->load('routing.yml');
$collection = $loader->load('routing.yaml');
$routes->addCollection($collection);
$this->twig->addExtension(new RoutingExtension(new UrlGenerator($routes, new RequestContext())));
}
Expand Down

0 comments on commit 15cb1f7

Please sign in to comment.