In Laravel 4.1 (now stable and released), the currentRouteName method of the Route facade has been dropped. Instead, you can use the new currentRouteNamed method.
Of course, this replacement may throw errors for users on 4.0 but since updating to the new version is dead simple, I believe you can reasonably make this change to stay on the edge !
In Laravel 4.1 (now stable and released), the currentRouteName method of the Route facade has been dropped. Instead, you can use the new currentRouteNamed method.
Of course, this replacement may throw errors for users on 4.0 but since updating to the new version is dead simple, I believe you can reasonably make this change to stay on the edge !