Update Dasboard

-Otomatis memberi nilai default pada foto
This commit is contained in:
DimazzP 2023-11-08 11:09:36 +07:00
parent c7e779d143
commit 12d6e7d4af
2 changed files with 2 additions and 2 deletions

View File

@ -48,5 +48,5 @@ public function destroy($id)
$user->delete();
Hasil::where('id_user', $id)->delete();
return redirect()->route('adminListUser.index')->with('success', 'User tersebut telah dihapus');
}
}
}

View File

@ -25,7 +25,7 @@ class User extends Authenticatable
'email',
'password',
'kelas_user',
'foto' => 'images/BoeaT0jCWccM0FW9FxE1HS1ej5J61n99JbEBzWlS.jpg',
'foto',
];