I have implemented a basic authentication system using symfony framework. It is working as expected. But I would like to have one more feature.
After logout
, I should be redirected to previous location. I followed following question for implementing this feature.
Symfony2 Dynamic Logout Target?
But it is giving me one error message.
Unable to generate a URL for the named route "dynamic_route_name" as such route does not exist.
Any Idea, why this is happening?