On Thu, 24 Feb 2011 22:19:13 -0800 (PST), Theo Chakkapark <[email protected]> wrote: > How would I replicate in Symfony 2, what Symfony 1 provided in default > routing? > > default: > url: /:module/:action/* > > I know that with the way Symfony 2 works, I would have to specify the > 'default' bundle to look into for the controller to use and view to > execute
Using the default route in symfony was considered bad practice (the best practice said to disable it and use custom routes). but if you want to have them in Symfony2 you can use this bundle which add this behavior: https://github.com/hidenorigoto/DefaultRouteBundle Regards -- 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 users" 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-users?hl=en
