/** * Calls an action inside a controller * (if at least one of them is not present * nothing happens) * * @param Route Route */ private function runController(Route $route, array $params) { $controller = $route->getController(); $action = $route->getAction(); Router::$currentController = $controller . '#' . $action; ControllerBase::runController($controller, $action, $params); }