Browse Source

add missing class

Thomas Rabaix 10 years ago
parent
commit
a5d3d891a3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      SonataAdminBundle.php

+ 2 - 0
SonataAdminBundle.php

@@ -10,6 +10,7 @@
 
 namespace Sonata\AdminBundle;
 
+use Sonata\AdminBundle\DependencyInjection\Compiler\GlobalVariablesCompilerPass;
 use Symfony\Component\HttpKernel\Bundle\Bundle;
 use Symfony\Component\DependencyInjection\ContainerBuilder;
 use Sonata\AdminBundle\DependencyInjection\Compiler\AddDependencyCallsCompilerPass;
@@ -26,5 +27,6 @@ class SonataAdminBundle extends Bundle
         $container->addCompilerPass(new AddDependencyCallsCompilerPass());
         $container->addCompilerPass(new AddFilterTypeCompilerPass());
         $container->addCompilerPass(new ExtensionCompilerPass());
+        $container->addCompilerPass(new GlobalVariablesCompilerPass());
     }
 }