update foto controller

This commit is contained in:
LailaWulandarii 2025-12-27 18:59:26 +07:00
parent 8e7b672af8
commit 086356cb17
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public function update(Request $request, string $id)
return redirect()->back()
->withErrors($validator)
->withInput()
->with('error_id', $id); // Membuka modal edit yang error otomatis
->with('error_id_foto', $id); // Membuka modal edit yang error otomatis
}
$data = $request->only(['nama', 'harga', 'durasi', 'deskripsi']);