schmittjoh/JMSI18nRoutingBundle — Issue #16: Prefixing _ of the route which i want to ignore does not work
Author: chetzof
Created: 2011-12-23 13:28:49+00:00
State: open

I have two bundles, one requires i18n the other not.

```yaml
CheFrontBundle:
resource: "@CheFrontBundle/Controller/"
type: annotation
prefix: /

_CheAdminBundle:
resource: "@CheAdminBundle/Controller/"
type: annotation
prefix: /admin
```

So i added _ to the CheAdminBundle, but it is still visible to the JMSI18nRoutingBundle bundle. However i added the _ to the route inside the bundle CheAdminBundle:

from:

```yaml
@Route("/", name = "index")
```
to

```yaml
@Route("/", name = "_index")
```

and this route got ignore.

However it would be a hell to prefix all the routes inside this bundle.
So is there some other way to ignore this bundle, or mayble make the

```yaml
_CheAdminBundle:
resource: "@CheAdminBundle/Controller/"
type: annotation
prefix: /admin
```

syntax work?