Can redirection in symfony2 only be done in the controller controller? Is it not possible if it is in a file other than the controller? If it is possible, please let me know if someone knows.
我想大声告诉你2017-05-16 16:46:33
Response
and must be returned within the Controller. Another point is that page jumps are placed everywhere. If you jump here and there, you will not know where to jump. . . If the masturbator really wants to jump, just header. 習慣沉默2017-05-16 16:46:33
Don’t be bound by the framework, come to the original how to use symfony2 or how to jump
window.location
Everything is fine