I have a working Symfony2 application that properly logs users in and out, and when logging out it properly redirects the user to the home page.
I'd like to keep them on their current page when the log out, only without their logged-in privileges.
My question is:
Can I dynamically set the page the user is directed to when they log out?