letrunghieu / active

The helper class for Laravel applications to get active class base on current route
https://www.hieule.info/tag/laravel-active/
MIT License
414 stars 82 forks source link

add a static Active::method('method') #17

Closed astroanu closed 9 years ago

astroanu commented 9 years ago

Please add a Active::method('method') similar to Active::controller('Controller') which will return a Boolean. :)

letrunghieu commented 9 years ago

You can use Active::action which accept the first parameter as "Controller@method".