Skip to content

Commit

Permalink
Merge pull request #3 from destinydriven/master
Browse files Browse the repository at this point in the history
$this->params() has been replaced in Cake 2.*  CakeRequest is now used to access same
  • Loading branch information
Dean Sofer committed Jul 7, 2012
2 parents 2b22e70 + fbbcd84 commit f8b92cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/Component/WizardComponent.php
Expand Up @@ -357,7 +357,7 @@ function redirect($step = null, $status = null, $exit = true) {
if ($step == null) {
$step = $this->_getExpectedStep();
}
$url = array('controller' => $this->controller->params['controller'], 'action' => $this->action, $step);
$url = array('controller' => $this->controller->request->controller, 'action' => $this->action, $step);
$this->controller->redirect($url, $status, $exit);
}
/**
Expand Down

0 comments on commit f8b92cc

Please sign in to comment.