dannyvankooten/AltoRouter — pull request #24 by Wernesgruner (2013-09-01 20:07:51+00:00)
Title: Add rerouting method

Convenient to redirect routes.
Use case:

if(isset($match['target']['route'])){
$match = $this->router->reRoute($match['target']['route']);
var_dump($match);
}

$this->controller = new $match['target']['controller'];
$this->controller->$match['target']['action']( $match['params'] );