Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit a947ac5

Browse files
committed
Revert passing UriContext to createAutoRoute
1 parent 2ebf4a0 commit a947ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AutoRouteManager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function buildUriContextCollection(UriContextCollection $uriContextCollec
7777

7878
if (!$autoRoute) {
7979
$autoRouteTag = $this->adapter->generateAutoRouteTag($uriContext);
80-
$autoRoute = $this->adapter->createAutoRoute($uriContext, $uriContext->getSubjectObject(), $autoRouteTag);
80+
$autoRoute = $this->adapter->createAutoRoute($uriContext->getUri(), $uriContext->getSubjectObject(), $autoRouteTag);
8181
}
8282

8383
$uriContext->setAutoRoute($autoRoute);

0 commit comments

Comments
 (0)