Skip to content

Commit 68ae392

Browse files
author
abluchet
committed
Don't load api.xml twice (see #1580 (comment))
1 parent 68bf3de commit 68ae392

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Bridge/Symfony/Routing/ApiLoader.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ public function supports($resource, $type = null)
148148
*/
149149
private function loadExternalFiles(RouteCollection $routeCollection)
150150
{
151-
$routeCollection->addCollection($this->fileLoader->load('api.xml'));
152-
153151
if ($this->entrypointEnabled) {
154152
$routeCollection->addCollection($this->fileLoader->load('api.xml'));
155153
}

0 commit comments

Comments
 (0)