diff --git a/packages/framework/src/Pages/DocumentationPage.php b/packages/framework/src/Pages/DocumentationPage.php index 2dd04b03394..c9df40fe15c 100644 --- a/packages/framework/src/Pages/DocumentationPage.php +++ b/packages/framework/src/Pages/DocumentationPage.php @@ -36,7 +36,7 @@ public static function home(): ?Route public static function homeRouteName(): string { - return static::baseRouteKey().'/index'; + return unslash(static::baseRouteKey().'/index'); } /** @see https://hydephp.com/docs/1.x/documentation-pages#automatic-edit-page-button */