I'm trying to make a menu active depending on route in laravel 4.1, my attempt:
<li
{{{ (Request::is('/core') ? 'class="active"' : '') }}}><a href="{{{ URL::to('/core') }}}">Control Panel</a>
</li>
My route:
Route::get('/core', 'CoreController@Showindex');
This is not throwing any errors just simply ignored. any help is appreciated.