I was wondering how I can parameter different redirection after login.
In one case :
I have a form that Anonymous User can complete it.
I save my form without user yet but I put in session the id of the form.
After I redirect to login/register and the session keep the id of the form
And to complete I need to attach the form with the user.
But everytime I am redirecting to the account of the user...
So I imagine differents cases to redirect after login and some parameter the previous path.
And I can after do that i need in the good controller to finish to reccord in the database.
If someone have an idea. Thank you for your advices.