This was a bug that has been fixed in master (or in the upcoming beta2).
-- Fabien Potencier Sensio CEO - Symfony lead developer sensiolabs.com | symfony.com | fabien.potencier.org Tél: +33 1 40 99 80 80 On 5/14/11 9:37 PM, Dmitry Bykadorov wrote:
Env: app/config/config.yml: session: default_locale: en translator: { fallback: en } src\VendorBundle\Resources\config\routing\configurator.xml <?xml version="1.0" encoding="UTF-8" ?> <routes ...> <route id="homepage" pattern="/{_locale}/"> <default key="_controller">VendorBundle:Main:index</default> <default key="_locale">en</default> <requirement key="_locale">en|ru</requirement> </route> </routes> But homepage without locale (/) return 404. /en/ or /ru/ works fine. What i'm doing wrong?
-- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en