mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
add twig service
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user