title: How to redirect to home page after logout?
body: <p>I have provided a pre build project on symfony in which the logout session redirects to the login screen, but now I want that page to redirect on the home page instead. What I have found in the coding files is this:</p>
  <p>In the base twig file:</p>
  <pre><code>&lt;a href=&quot;{{path('log_out')}}&quot;&gt;&lt;i class=&quot;icon-key&quot;&gt;&lt;/i&gt; Log Out&lt;/a&gt;
  </code></pre>
  <p>In routing.yml</p>
  <pre><code>#Route for logout page.
  log_out:
      pattern: /bid/logout
  </code></pre>