Skip to content

Commit

Permalink
Use helper method with same code
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 18, 2023
1 parent e43d6e8 commit 32a1ee5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function generate(): string
*/
public function __construct()
{
parent::__construct(ltrim(DocumentationPage::outputDirectory().'/search', '/'), [
parent::__construct(static::routeKey(), [
'title' => 'Search',
'navigation' => ['hidden' => true],
'document' => $this->makeDocument(),
Expand Down

0 comments on commit 32a1ee5

Please sign in to comment.