예제 #1
0
 public function searchReserve(request $request)
 {
     $id = $request->get('id');
     $reserveRoom = ReserveRoom::find($id);
     return view('ajax.searchReserve', ['reserve' => $reserveRoom]);
 }
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $reserveRoom = ReserveRoom::find($id);
     return view('myReserves.show', compact('reserveRoom'));
 }
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $reserveRoom = ReserveRoom::find($id);
     return view('Rooms.show');
 }