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

@@ -253,7 +253,7 @@ class DeckProvider implements IFullTextSearchProvider {
try {
$board =
$this->fullTextSearchService->getBoardFromCardId((int)$document->getId());
$path = '#!/board/' . $board->getId() . '//card/' . $document->getId();
$path = '#/board/' . $board->getId() . '/card/' . $document->getId();
$document->setLink($this->urlGenerator->linkToRoute('deck.page.index') . $path);
} catch (DoesNotExistException $e) {
} catch (MultipleObjectsReturnedException $e) {