There was an error while loading. Please reload this page.
1 parent d6921b3 commit 6160a8fCopy full SHA for 6160a8f
src/fr/adrienbrault/idea/symfony2plugin/routing/RouteHelper.java
@@ -531,9 +531,7 @@ public static List<Route> getRoutesOnControllerAction(Method method) {
531
}
532
533
List<Route> routes = new ArrayList<Route>();
534
-
535
- Symfony2ProjectComponent symfony2ProjectComponent = method.getProject().getComponent(Symfony2ProjectComponent.class);
536
- for(Map.Entry<String, Route> routeEntry: symfony2ProjectComponent.getRoutes().entrySet()) {
+ for(Map.Entry<String, Route> routeEntry: getAllRoutes(method.getProject()).entrySet()) {
537
if(routeEntry.getValue().getController() != null && routeEntry.getValue().getController().equals(methodRouteActionName)) {
538
routes.add(routeEntry.getValue());
539
0 commit comments