Exemplo n.º 1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $puesto = Puesto::find($id);
     $puesto->delete();
     $puestos = Puesto::paginate();
     $notices = array("Registro Eliminado");
     return \Redirect::route('admin.puestos.index')->with('notices', $notices);
 }