remove forgotten debug on crud delete
This commit is contained in:
parent
9b59bd9a54
commit
2d240f7cb1
1 changed files with 0 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue