update foto controller
This commit is contained in:
parent
8e7b672af8
commit
086356cb17
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue