Browse Source

Update DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

sjopet 13 years ago
parent
commit
bc19371a36
1 changed files with 1 additions and 0 deletions
  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));