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

Updated for Laravel 5.2 #23

Closed mstralka closed 8 years ago

mstralka commented 8 years ago

Laravel 5.2 changed events from strings to objects, so the ActiveServiceProvider had to be updated accordingly.

The route.matched event is now a Illuminate\Routing\Events\RouteMatched object.

letrunghieu commented 8 years ago

Thank you for this PR, I'll review it after fixing the unit tests.

letrunghieu commented 8 years ago

This is duplicated with the #22