}
public function delete($id) {
- if ($this->request->is('get')) {
+ /*if ($this->request->is('get')) {
throw new MethodNotAllowedException();
- }
+ }*/
$instance = $this->Instance->findById($id);
if (!$instance) {
throw new NotFoundException(__('Instance introuvable'));