I\'m trying to set active class in my list item, but it doesn\'t work.
My code in blade:
@foreach($data as $site)
Use is() method. For example: