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:
In the base twig file:
<a href="{{path('log_out')}}"><i class="icon-key"></i> Log Out</a>
In routing.yml
#Route for logout page.
log_out:
pattern: /bid/logout
/
– Pouliot