/**
  * Remove the specified resource from storage.
  *
  * @param  int  $tour, $booking
  * @return Response
  */
 public function destroy($tour, $booking)
 {
     $tour = Tour::where('is_published', true)->findOrFail($tour);
     $booking = $tour->bookings()->findOrFail($booking);
     //TODO
 }
Пример #2
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $tour
  * @return Response
  */
 public function destroy($tour)
 {
     $tour = Tour::findOrFail($tour);
     //TODO
 }