Another useful helper is to get URL segments by number. <li class="{{ (request()->segment(2) == 'cities') ? 'active' : '' }}">.
確定! 回上一頁