瀏覽代碼

Update DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

sjopet 13 年之前
父節點
當前提交
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'           => 'SonataAdminBundle:CRUD:history.html.twig',
             'history_revision'  => 'SonataAdminBundle:CRUD:history_revision.html.twig',
             'history_revision'  => 'SonataAdminBundle:CRUD:history_revision.html.twig',
             'action'            => 'SonataAdminBundle:CRUD:action.html.twig',
             'action'            => 'SonataAdminBundle:CRUD:action.html.twig',
+            'list_block'        => 'SonataAdminBundle:Block:block_admin_list.html.twig',
         ), $definedTemplates);
         ), $definedTemplates);
 
 
         $definition->addMethodCall('setTemplates', array($definedTemplates));
         $definition->addMethodCall('setTemplates', array($definedTemplates));