Prechádzať zdrojové kódy

Se borro el rest.yml porque ya estaba incluido en con otro nombre (commit de Guille)

gabriel 7 rokov pred
rodič
commit
62b52307a5
2 zmenil súbory, kde vykonal 0 pridanie a 36 odobranie
  1. 0 1
      app/config/config.yml
  2. 0 35
      app/config/rest.yml

+ 0 - 1
app/config/config.yml

@@ -1,7 +1,6 @@
 imports:
     - { resource: parameters.yml }
     - { resource: services.yml }
-    - { resource: rest.yml }
     - { resource: "@AuditBundle/Resources/config/services.yml" }
     - { resource: "@AuthBundle/Resources/config/services.yml" }
     - { resource: '@BaseAdminBundle/Resources/config/services.yml' }

+ 0 - 35
app/config/rest.yml

@@ -1,35 +0,0 @@
-framework:
-    csrf_protection: false #only use for public API
-
-fos_rest:
-    routing_loader:
-        default_format: json
-    param_fetcher_listener: true
-    body_listener: true
-    #disable_csrf_role: ROLE_USER
-    body_converter:
-        enabled: true
-    view:
-        view_response_listener: force
-    serializer:
-        serialize_null: true
-
-nelmio_cors:
-    defaults:
-        allow_credentials: false
-        allow_origin: []
-        allow_headers: []
-        allow_methods: []
-        expose_headers: []
-        max_age: 0
-    paths:
-        '^/api/':
-            allow_origin: ['*']
-            allow_headers: ['*']
-            allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
-            max_age: 3600
-
-sensio_framework_extra:
-    request: { converters: true }
-    view:    { annotations: false }
-    router:  { annotations: true }