title: How to insert a Controller in Twig with "render" in Symfony 2.2?
body: <p>I'm upgrading my project from Symfony 2.0.22 to 2.2.0 and review somes changes, but i'm blocked on this :</p>
  <p>I would like to render (like in Sf 2.0.X) a header with their controller and the &quot;render&quot; twig method don't work for me. Their is the error :</p>
  <blockquote>
  <p>An exception has been thrown during the rendering of a template (&quot;No
  route found for &quot;GET Index:header&quot;&quot;) in
  &quot;OSSiteBundle:Index:index.html.twig&quot;.</p>
  </blockquote>
  <p>Here is the actual render method :</p>
  <blockquote>
  <p>{# src/OS/SiteBundle/Resources/views/layout.html.twig #}</p>
  <p>...</p>
  <p>{% render &quot;OSSiteBundle:Index:header&quot; with {'thisid' : block('thisid'), ... } %}</p>
  </blockquote>
  <p>I tried :</p>
  <pre><code>{{ render('OSSiteBundle:Index:header' , {'thisid' : block('thisid'), 'thistitle' : block('thistitle'), 'thisunderpageid' : block('thisunderpageid'), 'thisbackground' : block('thisbackground') }) }}
  
  {{ include(&quot;OSSiteBundle:Index:header.html.twig&quot;, {'thisid' : block('thisid'), 'thistitle' : block('thistitle'), 'thisunderpageid' : block('thisunderpageid'), 'thisbackground' : block('thisbackground') }) }}
  </code></pre>
  <p>=&gt; The last one work but the Controller isn't colled in this way</p>
  <p>I tried even a render with a path in routing.yml... I have no other idea help me please!</p>