title: Symfony 2 multiple bundles annotation type routing
body: <p>I have a Symfony 2.3.1 application with two bundles. Each bundle contains Resources/config/routing.yml configuration file:</p>
  
  <pre><code>mobile:
      resource: "@MyMobileBundle/Controller"
      type:     annotation
  </code></pre>
  
  <p>and</p>
  
  <pre><code>admin:
      resource: "@MyAdminBundle/Controller"
      type:     annotation
  </code></pre>
  
  <p>This is app/config/routing.yml:</p>
  
  <pre><code>_mobile:
      resource: "@MyMobileBundle/Resources/config/routing.yml"
      prefix:   /mobile
  
  _admin:
      resource: "@MyAdminBundle/Resources/config/routing.yml"
      prefix:   /admin
  </code></pre>
  
  <p>And app/config/routing_dev.yml contains:</p>
  
  <pre><code>_main:
      resource: routing.yml
  </code></pre>
  
  <p>The problem is that each time only /admin/... or /mobile/... paths are available. If only one routing resource included in app/config/routing.yml everything works fine. Has anybody had such problem? Is it correct to set prefixes for different bundles this way? </p>