This commit is contained in:
origami11 2017-05-12 14:14:03 +03:00
commit ce7d909ea8
5 changed files with 97 additions and 2 deletions

View file

@ -372,4 +372,9 @@ class Controller_Action
{
$this->_getActionPath()->getPath($this, ($action) ? $action : $request->getAction());
}
function redirect($action) {
header('location: ' . $this->fUrl($action));
exit();
}
}