title: symfony2 render controller with get parameters
body: <p>How to render a controller with get parameters in twig?</p>
  
  <pre><code>{{ render(controller('AutoBundle:MyController:main', { 'id': id, 'active': true } )) }}
  </code></pre>
  
  <p>to call controller like this: <a href="https://example.com/users/323?active=true" rel="noreferrer">https://example.com/users/323?active=true</a></p>