/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { //dd('aaaa'); //$conf = $this->datos->delete(); $datos = Encomienda::find($id); $datos->delete(); Flash::error("Se ha eliminado de forma exitosa!"); return redirect()->route('encomienda.index'); }