/** * Show the form for editing the specified resource. * * @param App\Room $room * @return Response */ public function edit(Room $room) { $roomTypes = RoomType::lists('name', 'id')->all(); return view('room.edit', compact('room', 'roomTypes')); }