I have overridden detail and edit pages of an object. So to override, the save functionality or the delete functionality - I need to redirect the user back to the page from where she came from. So in my VF page how do I get back the return URL. I want to do redirect from the controller using pageReference.
Thanks in advance.