fix: Adapt URLs generated in the backend to new routes

Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
Julius Knorr
2025-01-08 10:47:07 +01:00
parent aaa76f7bd0
commit 7b4586a43a
11 changed files with 42 additions and 35 deletions

View File

@@ -57,7 +57,7 @@ class ResourceProvider implements IProvider {
*/
public function getResourceRichObject(IResource $resource): array {
$board = $this->getBoard($resource);
$link = $this->urlGenerator->linkToRoute('deck.page.index') . '#/board/' . $resource->getId();
$link = $this->urlGenerator->linkToRoute('deck.page.indexBoard', ['boardId' => $resource->getId()]);
return [
'type' => self::RESOURCE_TYPE,