From 2d240f7cb189957a4c40aaa06eda7bbfd01e9550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Mon, 28 Jun 2021 10:12:34 +0200 Subject: [PATCH] remove forgotten debug on crud delete --- app/Http/Controllers/CrudController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Controllers/CrudController.php b/app/Http/Controllers/CrudController.php index ab47087..3139046 100644 --- a/app/Http/Controllers/CrudController.php +++ b/app/Http/Controllers/CrudController.php @@ -165,7 +165,6 @@ class CrudController extends Controller public function destroy(Model $model) { if ($restrict = $model->gotHasManyRelationWithRestrictOnDelete()) { - dd('toto'); return redirect()->back() ->with('error', trans( ':model n\'as pas pu être supprimé car il est encore associé avec des :associated',