mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix post action on api controller: too many argument
This commit is contained in:
parent
eb2bad0f47
commit
ae10a8bd1c
@ -49,7 +49,7 @@ class ApiController extends AbstractCRUDController
|
|||||||
return $this->entityPut('_entity', $request, $id, $_format);
|
return $this->entityPut('_entity', $request, $id, $_format);
|
||||||
|
|
||||||
case Request::METHOD_POST:
|
case Request::METHOD_POST:
|
||||||
return $this->entityPostAction('_entity', $request, $id, $_format);
|
return $this->entityPostAction('_entity', $request, $id);
|
||||||
|
|
||||||
case Request::METHOD_DELETE:
|
case Request::METHOD_DELETE:
|
||||||
return $this->entityDelete('_entity', $request, $id, $_format);
|
return $this->entityDelete('_entity', $request, $id, $_format);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user