public function mapRoute2Toc($route, $toc)
    {
        if (key_exists($route, $toc)) {
            return $route;
        } elseif (key_exists($route . "/index", $toc)) {
            return $route . "/index";
        }

        throw new \Anax\Exception\NotFoundException(t('The page does not exists.'));
    }