add twig service

This commit is contained in:
Nicolas Le Goff
2012-01-06 16:32:45 +01:00
parent 7963d0aec8
commit 554e657d68

View File

@@ -76,7 +76,10 @@ class module_admin
, 'off_databoxes' => $off_databoxes
);
$twig = new supertwig();
$core = \bootstrap::getCore();
$twig = $core->getTwig();
return $twig->render('admin/tree.html.twig', $params);
}