File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 "psalm/plugin-phpunit" : " ^0.18" ,
6161 "psalm/plugin-symfony" : " ^5.0" ,
6262 "rector/rector" : " ^0.18" ,
63- "sonata-project/admin-bundle" : " ^4.14 " ,
63+ "sonata-project/admin-bundle" : " ^4.28 " ,
6464 "sonata-project/block-bundle" : " ^4.11 || ^5.0" ,
6565 "sonata-project/doctrine-orm-admin-bundle" : " ^4.0" ,
6666 "symfony/asset" : " ^5.4 || ^6.2" ,
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public function listAction(Request $request): Response
8080 $ exportFormats = $ exporter ->getAvailableFormats ($ this ->admin );
8181 }
8282
83- return $ this ->renderWithExtraParams ($ this ->admin ->getTemplateRegistry ()->getTemplate ('list ' ), [
83+ return $ this ->render ($ this ->admin ->getTemplateRegistry ()->getTemplate ('list ' ), [
8484 'action ' => 'list ' ,
8585 'form ' => $ formView ,
8686 'datagrid ' => $ datagrid ,
@@ -141,7 +141,7 @@ public function treeAction(Request $request): Response
141141
142142 $ this ->setFormTheme ($ formView , $ this ->admin ->getFilterTheme ());
143143
144- return $ this ->renderWithExtraParams ($ this ->admin ->getTemplateRegistry ()->getTemplate ('tree ' ), [
144+ return $ this ->render ($ this ->admin ->getTemplateRegistry ()->getTemplate ('tree ' ), [
145145 'action ' => 'tree ' ,
146146 'current_categories ' => $ currentCategories ,
147147 'root_categories ' => $ rootCategoriesSplitByContexts ,
You can’t perform that action at this time.
0 commit comments