CakePHP 1.2: redirect method
Previously (in CakePHP 1.1) it was best to add an exit or return after you redirect method like:
PHP:
-
$this->redirect('controller/action');
or
PHP:
-
$this->redirect('controller/action');
-
return();
in CakePHP 1.2 this can be shortened to:
PHP:
-
$this->redirect('controller/action', null, true);
See cakebaker on this too.



Thnx, simple documentation is sometimes hard to find.