Skip to content

Commit 9fd528a

Browse files
authored
Merge pull request #1682 from soyuka/load-api-twice
Don't load api.xml twice (see https://github.com/api-platform/core/pu…
2 parents 68bf3de + 68ae392 commit 9fd528a

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)