diff --git a/lib/Dashboard/PollWidget.php b/lib/Dashboard/PollWidget.php index a013147f9..bccff233c 100644 --- a/lib/Dashboard/PollWidget.php +++ b/lib/Dashboard/PollWidget.php @@ -40,7 +40,7 @@ public function getIconClass(): string { } public function getUrl(): ?string { - return $this->urlGenerator->linkToRouteAbsolute(AppConstants::APP_ID . '.page.index'); + return $this->urlGenerator->linkToRouteAbsolute(AppConstants::APP_ID . '.page.indexindex'); } public function load(): void { diff --git a/lib/Db/Share.php b/lib/Db/Share.php index 50bea4da0..196f1eed0 100644 --- a/lib/Db/Share.php +++ b/lib/Db/Share.php @@ -239,7 +239,7 @@ public function getURL(): string { ); } elseif ($this->token) { return $this->urlGenerator->linkToRouteAbsolute( - AppConstants::APP_ID . '.public.vote_page', + AppConstants::APP_ID . '.public.votePage', ['token' => $this->token] ); } else { diff --git a/lib/Provider/SearchProvider.php b/lib/Provider/SearchProvider.php index a9a2afffb..452ad3df3 100644 --- a/lib/Provider/SearchProvider.php +++ b/lib/Provider/SearchProvider.php @@ -61,7 +61,7 @@ public function search(IUser $user, ISearchQuery $query): SearchResult { } public function getOrder(string $route, array $routeParameters): int { - if (in_array(strtolower($route), [AppConstants::APP_ID . '.page.index', AppConstants::APP_ID . '.page.vote'])) { + if (in_array(strtolower($route), [AppConstants::APP_ID . '.page.indexindex', AppConstants::APP_ID . '.page.vote'])) { return -5; } return 51;