1// check using uri
2<li class="{{ request()->is('sites/*/edit') ? 'active' : '' }}"
3 // or, check using route name
4<li class="{{ request()->routeIs('sites/*/edit') ? 'active' : '' }}"
5 // or, using segment
6<li class="{{ (request()->segment(2) == 'cities') ? 'active' : '' }}">