Example #1
0
 /**
  * Edit a trip.
  *
  * @param Trip $trip
  * @return Response
  */
 public function edit(Trip $trip)
 {
     $routes = Route::lists('name', 'id');
     return view('trips.edit', compact('routes', 'trip'));
 }