From b7a253777b8c0caca3d697f679fba3bb30450810 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 18 Dec 2023 11:43:30 +0100 Subject: [PATCH] Extract internal route key helper Reduces the amount of times and places we call the exact same logic --- .../components/docs/search-scripts.blade.php | 2 +- .../GeneratesDocumentationSearchIndex.php | 3 ++- .../Documentation/DocumentationSearchIndex.php | 9 ++++++++- .../Feature/DocumentationSearchIndexTest.php | 17 +++++++++++++++++ 4 files changed, 28 insertions(+), 3 deletions(-) diff --git a/packages/framework/resources/views/components/docs/search-scripts.blade.php b/packages/framework/resources/views/components/docs/search-scripts.blade.php index 0d381221c29..f2561c84b61 100644 --- a/packages/framework/resources/views/components/docs/search-scripts.blade.php +++ b/packages/framework/resources/views/components/docs/search-scripts.blade.php @@ -1,7 +1,7 @@