I am currently wondering why sometimes when redirecting in Symfony via $this->redirect($this->generateUrl())
a message is shown with "Redirecting to: myURL" and other times there is no message at all and it is immediately directed to the url without that message. I also tried the same redirect in different controller actions and in one action the ugly message was shown and in the other not. Any suggestions why this behaviour might occure and how to prevent it?
EDIT:
For further clearification on my scenario. I have a form flow with multiple steps and very time one step is submitted and is evaluated as valid, I redirect to the next step. I have this scenario twice in my application and in one scenario it just shows directly the next step of the form flow but in the other scenario it first shows the ugly "Redirecting to: URL" page which I cannot figure out why and is really annoying for the user experience.