diff --git a/app/AppKernel.php b/app/AppKernel.php index 29da584..754ad51 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -19,6 +19,7 @@ public function registerBundles() new AppBundle\AppBundle(), new FOS\RestBundle\FOSRestBundle(), new JMS\SerializerBundle\JMSSerializerBundle(), + new Nelmio\CorsBundle\NelmioCorsBundle(), ); if (in_array($this->getEnvironment(), array('dev', 'test'))) {