Просмотр исходного кода

Update DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

sjopet 13 лет назад
Родитель
Сommit
bc19371a36
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

+ 1 - 0
DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

@@ -256,6 +256,7 @@ class AddDependencyCallsCompilerPass implements CompilerPassInterface
             'history'           => 'SonataAdminBundle:CRUD:history.html.twig',
             'history_revision'  => 'SonataAdminBundle:CRUD:history_revision.html.twig',
             'action'            => 'SonataAdminBundle:CRUD:action.html.twig',
+            'list_block'        => 'SonataAdminBundle:Block:block_admin_list.html.twig',
         ), $definedTemplates);
 
         $definition->addMethodCall('setTemplates', array($definedTemplates));