From cf491310e13c3435d73fdad5e76c8f46bdf2a0b1 Mon Sep 17 00:00:00 2001 From: Lukas Kahwe Smith Date: Sat, 25 Oct 2014 14:05:57 +0200 Subject: [PATCH] always enable the demo bundle --- app/AppKernel.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/AppKernel.php b/app/AppKernel.php index 70d2738f42..e6bcb1b7c0 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -36,10 +36,12 @@ public function registerBundles() new Symfony\Cmf\Bundle\CreateBundle\CmfCreateBundle(), new FOS\RestBundle\FOSRestBundle(), new JMS\SerializerBundle\JMSSerializerBundle(), + + // Remove this Bundle when using the SE as the basis for a new project + new Acme\DemoBundle\AcmeDemoBundle(), ); if (in_array($this->getEnvironment(), array('dev', 'test'))) { - $bundles[] = new Acme\DemoBundle\AcmeDemoBundle(); $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();