This will result in a notice when the request was get and not post. The variable doesn't follow the CakePHP conventions as well, it should be $returnTo.