Fix generated fronted urls

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-05-19 09:24:25 +02:00
parent 30683fd994
commit 6910ba95fa
6 changed files with 11 additions and 11 deletions

View File

@@ -90,7 +90,7 @@ class ResourceProviderCard implements IProvider {
throw new ResourceException('No unique card found for resource, this should never happen');
}
$link = $this->urlGenerator->linkToRoute('deck.page.index') . '#/board/' . $board->getId() . '/cards/' . $resource->getId();
$link = $this->urlGenerator->linkToRoute('deck.page.index') . '#/board/' . $board->getId() . '/card/' . $resource->getId();
return [
'type' => self::RESOURCE_TYPE,