title: Symfony2: Can bundle routes be namespaced?
body: <p>I have a MagazineBundle which in one of its Twig templates has <code>path('portfolio')</code>, the root of a different bundle that has been prefixed.</p>
  
  <pre><code># app/config/routing.yml
  
  LameMagazineBundle:
      resource: "@LameMagazineBundle/Resources/config/routing.yml"
      prefix:   /
  
  LamePortfolioBundle:
      resource: "@LamePortfolioBundle/Resources/config/routing.yml"
      prefix:   /portfolio 
  </code></pre>
  
  <p>and</p>
  
  <pre><code># src/Lame/PortfolioBundle/Resources/config/routing.yml
  
  portfolio:
      pattern:  /
      defaults: { _controller: LamePortfolioBundle:Default:index }
  </code></pre>
  
  <p>But if I add a third bundle, possibly one I've downloaded and installed, and that bundle also happened to also have a route named 'portfolio', would I have to renamed the routes or is there a way to namespace them? </p>
  
  <p>An experiment I tried with two matching route names results in the last declared one overriding the first.</p>