Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AppInfo/DashboardWidget.php')
-rw-r--r--lib/AppInfo/DashboardWidget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AppInfo/DashboardWidget.php b/lib/AppInfo/DashboardWidget.php
index ef9a1e38..48ce88ab 100644
--- a/lib/AppInfo/DashboardWidget.php
+++ b/lib/AppInfo/DashboardWidget.php
@@ -90,7 +90,7 @@ class DashboardWidget implements IWidget, IButtonWidget, IAPIWidget {
$excerpt = $note->getExcerpt();
} catch (\Throwable $e) {
}
- $link = $this->url->linkToRouteAbsolute('notes.page.index', ['id' => $note->getId()]);
+ $link = $this->url->linkToRouteAbsolute('notes.page.indexnote', ['id' => $note->getId()]);
$icon = $note->getFavorite() ? $this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/starred.svg')) : '';
return new WidgetItem($note->getTitle(), $excerpt, $link, $icon, (string)$note->getModified());
}, $notes);