示例#1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit(BusStop $bus_stop)
 {
     $neighborhoods = Neighborhood::lists('name', 'id');
     $points = Point::lists('id', 'id');
     return view('bus_stops.edit', compact('bus_stop', 'neighborhoods', 'points'));
 }