title: Passing object as parameter in Twig path
body: <p>When I want to pass parameter via Twig path I write:</p>
  
  <pre><code>&lt;a href="{{ path('blog_post', { id: post.id }) }}"&gt;
  </code></pre>
  
  <p>Is it possible to pass full object e.g. Post via Twig path?</p>
  
  <p>Thank for help</p>