Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 11, 2024
1 parent 66d4a1f commit 7cfef87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Documentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public function getIndex($version)

$currentPath = '/'.request()->path();

$currentPath = $currentPath == '/docs/11.x' ? '/docs/11.x/installation' : $currentPath;

$index = str_replace(
"<li>\n<a href=\"$currentPath\">",
$activeElement = "<li class=\"active\">\n<a href=\"$currentPath\">",
Expand Down

0 comments on commit 7cfef87

Please sign in to comment.