public function indexAction()
{
if ($test = Node::fixOrphanedNodes()) {
return App::redirect('@site/page');
}
return ['$view' => ['title' => __('Pages'), 'name' => 'system/site/admin/index.php'], '$data' => ['config' => ['menus' => App::menu()->getPositions()], 'types' => array_values($this->site->getTypes())]];
}