I have a visualforce button that submits an approval request. I would like the method to return a PageReference that brings the user to the full Approval History related list. I can't seem to figure out how to do that without hardcoding the url.
Here is my code:
return new ApexPages.StandardController(theOpportunity).view();
It returns a url like this:
I want it to return this: