private static function addRoute($view) {
        $uri = RouteController::$currentRoute['uri'];
        $method = RouteController::$currentRoute['method'];
        $module = RouteController::$currentRoute['module'];
        $current_controller = 'modules' . DS . $module . DS . RouteController::$currentRoute['controller'];
        $current_action = RouteController::$currentRoute['action'];
        $args = RouteController::$currentRoute['args'];

        $route = [
            'Route' => $uri,
            'Method' => $method,
            'Module' => $module,
            'Controller' => $current_controller,
            'Action' => $current_action,
            'View' => '',
            'Args' => $args,
        ];

        if ($view) {
            $route['View'] = 'modules/' . RouteController::$currentRoute['module'] . '/Views/' . $view;
        }

        self::$debugbar->addCollector(new MessagesCollector('routes'));
        self::$debugbar['routes']->info($route);
    }