Enable DELETE in the ApiController

This commit is contained in:
nobohan
2021-09-06 13:28:39 +02:00
parent 6bfc180951
commit 0a274eb2a4
2 changed files with 50 additions and 6 deletions

View File

@@ -38,10 +38,4 @@ class CalendarRangeAPIController extends ApiController
//TODO use also the paginator, eg return $this->serializeCollection('get', $request, $_format, $paginator, $results);
}
// public function calendarRangeApi($id, Request $request, string $_format): Response
// {
// return $this->addRemoveSomething('calendarRange', $id, $request, $_format, 'calendarRange', CalendarRange::class, [ 'groups' => [ 'read' ] ]);
// }
}