Skip to content

Commit

Permalink
Unslash documentation page home route name
Browse files Browse the repository at this point in the history
This fixes a bug where the sidebar header brand is not clickable when setting the documentation page output path to `''`.
  • Loading branch information
caendesilva authored Nov 5, 2023
1 parent dba88ca commit 73d585d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/src/Pages/DocumentationPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 73d585d

Please sign in to comment.