Finishing tampilan apps
This commit is contained in:
@@ -152,10 +152,13 @@ public function update(Request $request, $id)
|
||||
'id_kendaraan' => $request->id_kendaraan_baru
|
||||
]);
|
||||
|
||||
return response()->json([
|
||||
'status' => 'success',
|
||||
'message' => 'data berhasil di ubah'
|
||||
]);
|
||||
// return response()->json([
|
||||
// 'status' => 'success',
|
||||
// 'message' => 'data berhasil di ubah'
|
||||
// ]);
|
||||
return redirect()
|
||||
->route('apps.index')
|
||||
->with('success', 'Data berhasil diubah');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user