Re: [symfony-users] [Symfony2] Highlighting menu based on controller called

2011-05-12 Thread Vincent Lechemin
I am using the route name to do that and it works most if the time, except when there is an internal redirection. It is better than the path because it is not parameter dependant. But I'm still looking for a better way. -- Vincent -- If you want to report a vulnerability issue on symfony, pleas

[symfony-users] [Symfony2] Highlighting menu based on controller called

2011-05-12 Thread Filipe La Ruina
Hey guys, I've been searching for a way of getting the controller that was called so I can highlight the menu. I looked in the HTTP Foundation class and it seems that there is no way of doing it. Even searching here I couldn't find anyone that had the same problem. Well, now i'm doing it the fol