Closed code-karma closed 9 years ago
Not sure why this was closed without a fix... This issue still exists in the teepluss/laravel-hmvc (including v1.x branch). The package is unusable in Laravel without that fix. https://github.com/laravel/framework/issues/2919
I'm using the v1.x branch on Laravel 4.2 without issue
Yes, I just checked the Laravel Router.php. It is working for any Laravel 4.2 or later but is not working wothout a fix in earlier versions as 'getCurrentRoute()' function does not exist there, just the 'current()' does.
The 'current()' function does exactly the same thing (all later versions have both functions doing the same thing with different name) therefore changing it in this package to current() would solve the issue for all.
I believe this should be updated unless this hmvc release targets old Laravel versions: https://github.com/laravel/framework/issues/2919