Commit 9b9bb9e7 authored by Mat's avatar Mat

encore une erreur sur les méthodes de route

parent d338b928
...@@ -52,7 +52,7 @@ techno_gallery_delete: ...@@ -52,7 +52,7 @@ techno_gallery_delete:
_controller: TechnoBundle:Image:delete _controller: TechnoBundle:Image:delete
requirements: requirements:
id: \d+ id: \d+
methods: [ DELETE ] methods: [ GET, DELETE ]
## CRUD auteur ## CRUD auteur
...@@ -83,7 +83,7 @@ techno_owner_delete: ...@@ -83,7 +83,7 @@ techno_owner_delete:
_controller: TechnoBundle:Owner:delete _controller: TechnoBundle:Owner:delete
requirements: requirements:
id: \d+ id: \d+
methods: [ DELETE ] methods: [ GET, DELETE ]
### les routes des fonctions qui interrogent l'APIBundle ### les routes des fonctions qui interrogent l'APIBundle
......
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