Fix call to undefined method 'Route::currentRouteName()' in Laravel 4.1