Quick way to redirect back to referer page in symfony 1.3/1.4:
Its pretty useful when you send load of parameters to some action (e.g. delete) and then need to return back to sender page (so instead of using generateUrl() method with all return parameters it makes sense to use getReferer() method).
4 replies on “symfony referer redirect”
You’re awesome man! I was searching this for about an hour!
i have small app based on symfony 1.4.Instead of redirecting to another page, I want to display doctrine query results on the same templates.
This can help, thanks