Skip to content

Commit 266c8d6

Browse files
adriendupuisadamwojs
authored andcommitted
Fix infinite redirectCurrentVersionRelations
\Ibexa\Rest\Server\Controller\Content\ContentCurrentVersionRelationsRedirectController::redirectCurrentVersionRelations was redirecting to itself's route and looping indefinitely.
1 parent 59fd0ad commit 266c8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Server/Controller/Content/ContentCurrentVersionRelationsRedirectController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function redirectCurrentVersionRelations(int $contentId): TemporaryRedire
5454

5555
return new TemporaryRedirect(
5656
$this->router->generate(
57-
'ibexa.rest.redirect_current_version_relations',
57+
'ibexa.rest.load_version_relations',
5858
[
5959
'contentId' => $contentId,
6060
'versionNumber' => $contentInfo->currentVersionNo,

0 commit comments

Comments
 (0)