symfony/symfony — Issue #2723: Setting requirements when prefixing imported routes with {_locale}
Author: samuelvogel
Created: 2011-11-25 23:26:05+00:00
State: open

When prefixing imported routes with `_locale`, the specified requirements are not checked:

```
routing:
resource: routing2.yml
prefix: /{_locale}
requirements:
_locale: en|de|fr
```

Basically just what @alessandro1997 reported in his comments on #1187.