Le 05/04/2011 23:59, Jeremy Mikola a écrit :
I don't think we'll ever see automatic redirection from routing. The
main purpose of routing is to resolve a request to a controller, so
defining the post-resolution action within routing would violate
"separation of concerns", which is an important Symfony2 principle.
Redirecting with an action is trivial enough, though.
You could also simply use the same controller for both routes. this is
how it is done in FOS UserBundle for the SecurityController
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en