Return string 'active' if current route lead to the method 'getFoo' of the class 'FooController'
Active::action('FooController@getFoo');
Return string 'selected' if current route lead to the method 'getFoo' of the class 'FooController' or the method 'postBar' of the class 'BarController'
Active::action(array('FooController@getFoo', 'BarController@postBar'), 'selected');
It appears in laravel 5 $this->_router->currentRouteAction(); returns the full path to the controller so this function was not behaving correctly.
Specifically these lines
It appears in laravel 5 $this->_router->currentRouteAction(); returns the full path to the controller so this function was not behaving correctly.