Skip to content

Commit 5c45a46

Browse files
authored
Merge pull request #1427 from hydephp/unslash-documentation-page-home-route-name
Unslash documentation page home route name
2 parents 00fb664 + 5b804b4 commit 5c45a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/src/Pages/DocumentationPage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static function home(): ?Route
3636

3737
public static function homeRouteName(): string
3838
{
39-
return static::baseRouteKey().'/index';
39+
return unslash(static::baseRouteKey().'/index');
4040
}
4141

4242
/** @see https://hydephp.com/docs/1.x/documentation-pages#automatic-edit-page-button */

0 commit comments

Comments
 (0)