Commit 0703b246 authored by Mat's avatar Mat

correction routes API de Groupe et Depot

parent 72155699
......@@ -183,13 +183,13 @@ api_info_create:
api_groupe_create:
path: /groupe/ajouter
defaults:
_controller: APIBundle:Groupe:create
_controller: APIBundle:GroupeAPI:create
methods: [ POST ]
api_groupe_read:
path: /groupes
defaults:
_controller: APIBundle:Groupe:read
_controller: APIBundle:GroupeAPI:read
methods: [ GET ]
api_groupe_update:
......@@ -197,7 +197,7 @@ api_groupe_update:
requirements:
id: \d+
defaults:
_controller: APIBundle:Groupe:update
_controller: APIBundle:GroupeAPI:update
methods: [ POST ]
api_groupe_delete:
......@@ -205,7 +205,7 @@ api_groupe_delete:
requirements:
id: \d+
defaults:
_controller: APIBundle:Groupe:delete
_controller: APIBundle:GroupeAPI:delete
methods: [ DELETE ]
......@@ -214,13 +214,13 @@ api_groupe_delete:
api_depot_create:
path: /depot/ajouter
defaults:
_controller: APIBundle:Depot:create
_controller: APIBundle:DepotAPI:create
methods: [ POST ]
api_depot_read:
path: /depots
defaults:
_controller: APIBundle:Depot:read
_controller: APIBundle:DepotAPI:read
methods: [ GET ]
api_depot_update:
......@@ -228,7 +228,7 @@ api_depot_update:
requirements:
id: \d+
defaults:
_controller: APIBundle:Depot:update
_controller: APIBundle:DepotAPI:update
methods: [ POST ]
api_depot_delete:
......@@ -236,6 +236,6 @@ api_depot_delete:
requirements:
id: \d+
defaults:
_controller: APIBundle:Depot:delete
_controller: APIBundle:DepotAPI:delete
methods: [ DELETE ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment