Skip to content

Commit 4282a7a

Browse files
committed
fix: home route always comes active fix
1 parent 8c6ae2a commit 4282a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminlte-stubs/layouts/menu.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- need to remove -->
22
<li class="nav-item">
3-
<a href="{{ route('home') }}" class="nav-link active">
3+
<a href="{{ route('home') }}" class="nav-link {{ Request::is('home') ? 'active' : '' }}">
44
<i class="nav-icon fas fa-home"></i>
55
<p>Home</p>
66
</a>

0 commit comments

Comments
 (0)