I\'m trying to set active class in my list item, but it doesn\'t work.
My code in blade:
@foreach($data as $site)
There is also the following if you have named your route :
...
Inspired from here