title: Symfony 2 redirect route
body: <p>I have the following route that works via a get:</p>
  
  <pre><code>CanopyAbcBundle_crud_success:
    pattern:  /crud/success/
    defaults: { _controller: CanopyAbcBundle:Crud:success }
    requirements:
      _method:  GET
  </code></pre>
  
  <p>Where Canopy is the namespace, the bundle is AbcBundle, controller Crud, action is success.</p>
  
  <p>The following fails:</p>
  
  <pre><code>return $this-&gt;redirect($this-&gt;generateUrl('crud_success'));
  
  Unable to generate a URL for the named route "crud_success" as such route does not exist.
  500 Internal Server Error - RouteNotFoundException 
  </code></pre>
  
  <p>How can I redirect with generateUrl()?</p>