/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $tour = Tour::findOrFail($id); $destinations = TourDestination::select('name')->orderBy('name')->where('active', '1')->get(); return view('admin.tours.edit', ['tour' => $tour, 'destinations' => $destinations]); }