Skip to content

Commit ef2f182

Browse files
committed
Fix bug in unlocalised page routing
1 parent 1857bc5 commit ef2f182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Routes/PageRouteHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ public function getUrl(Page $page, ?string $locale = null): string
3030
]);
3131
}
3232

33-
return route('page_index', ['page' => $page]);
33+
return route(static::ROUTE_PAGE, ['page' => $page]);
3434
}
3535
}

0 commit comments

Comments
 (0)