瀏覽代碼

Enabled the NelmioCors bundle in the application

Javier Eguiluz 9 年之前
父節點
當前提交
86861afa10
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/AppKernel.php

+ 1 - 1
app/AppKernel.php

@@ -23,7 +23,7 @@ class AppKernel extends Kernel
             new Nelmio\SolariumBundle\NelmioSolariumBundle(),
             new Nelmio\SecurityBundle\NelmioSecurityBundle(),
             new Knp\Bundle\MenuBundle\KnpMenuBundle(),
-
+            new Nelmio\CorsBundle\NelmioCorsBundle(),
             new Packagist\WebBundle\PackagistWebBundle(),
         );