It is already possible with 'requirements: _locale: %locale%'. The routing
will replace %locale% with a parameter named locale in the DI container
automatically.
Am Mittwoch, 17. Oktober 2012 23:06:20 UTC+2 schrieb Mario Alberto Alvarez
Garcia:
>
> Hi,
> I'm trying to find a way to modify the
Yes, its a misunderstanding on your part. /member/account.{_format}/{id}
only matches the right placeholder, when the left one matches. So it
matches /member/account and /member/account.html
and /member/account.html/123
but not /member/account/123 (no format).
A proposal of mine that would make
Hi,
I'm trying to find a way to modify the routes requirement of my
application, according to a parameter in the service container. I'd like
to know if there is an event, and which is, that is called before dumping
the routes to the cache.
What I'm trying to achieve is before dumping the rou