title: Error: "No route found for "GET /web/app_dev.php""
body: <p>I have created a bundle using the command <code>php app/console generate:bundle</code> this add the bundle in <code>/app/AppKernel.php</code> and also in <code>/app/config/routing.yml</code>. If I try to access the URL <code>http://devserver/web/app_dev.php/bank_homepage</code> I got a 404 error. I check <code>/app/logs/prod.log</code> and see this:</p>
  
  <blockquote>
    <p>[2013-07-29 13:41:27] request.ERROR: Uncaught PHP Exception
    Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No
    route found for "GET /web/app_dev.php/bank_homepage"" at
    /var/www/html/app/cache/prod/classes.php line 1880
    {"exception":"[object]
    (Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No
    route found for \"GET /web/app.php/bank_homepage\" at
    /var/www/html/app/cache/prod/classes.php:1880,
    Symfony\Component\Routing\Exception\ResourceNotFoundException:  at
    /var/www/html/app/cache/prod/appProdUrlMatcher.php:1222)"} []</p>
  </blockquote>
  
  <p>What I'm doing wrong?</p>
  
  <p>This is my <code>/app/config/routing.yml</code></p>
  
  <pre><code>bank:
      resource: "@BankBundle/Resources/config/routing.yml"
      prefix:   /
  ....
  </code></pre>
  
  <p>And this is my <code>/src/BankBundle/Resources/config/routing.yml</code></p>
  
  <pre><code>bank_homepage:
      pattern:  /hello/{name}
      defaults: { _controller: BankBundle:Default:index }
      requirements:
        _method: GET
  </code></pre>
  
  <p><strong>EDIT some tests</strong>
  I change the URL from <code>http://devserver/web/app_dev.php/bank_homepage</code> to <code>http://devserver/web/app_dev.php</code> and then the error changes to this:</p>
  
  <blockquote>
    <p>[2013-07-29 14:22:15] request.ERROR: Uncaught PHP Exception
    Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No
    route found for "GET /web/app_dev.php"" at
    /var/www/html/app/cache/prod/classes.php line 1880
    {"exception":"[object]
    (Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No
    route found for \"GET /web/app_dev.php\" at
    /var/www/html/app/cache/prod/classes.php:1880,
    Symfony\Component\Routing\Exception\ResourceNotFoundException:  at
    /var/www/html/app/cache/prod/appProdUrlMatcher.php:1222)"} []</p>
  </blockquote>
  
  <p>Which practically is the same</p>
  
  <p>PS: I check (this)[No route found for &quot;GET /portfolio but this didn't work for me</p>