/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { Kas::find($id)->delete(); return redirect('kas')->with('message', 'Data berhasil dihapus!'); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($idkas) { $kas = Kas::find($idkas)->delete(); return Redirect::to('kas'); // }