Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Waidelich <[email protected]>
  • Loading branch information
mhsdesign and bwaidelich authored Oct 16, 2024
1 parent 708c7c6 commit 830cf1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/BackendController.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public function redirectToAction(string $node): void

$workspace = $contentRepository->findWorkspaceByName($nodeAddress->workspaceName);

// we always want to redirect to the node in the base workspace.
// we always want to redirect to the node in the base workspace unless we are on a root workspace in which case we stay on that (currently that will not happen)
$nodeAddressInBaseWorkspace = NodeAddress::create(
$nodeAddress->contentRepositoryId,
$workspace->baseWorkspaceName ?? $nodeAddress->workspaceName,
Expand Down

0 comments on commit 830cf1c

Please sign in to comment.