コード例 #1
0
 public function updateRoomFormSubmit(updateRoomFormSubmitRequest $request)
 {
     $id = \Input::get('room_id');
     $room_name = \Input::get('room_name');
     $room_type = \Input::get('room_type');
     $room_description = \Input::get('room_description');
     $room_price = \Input::get('room_price');
     Room::updateRoomDetails($id, $room_name, $room_type, $room_description, $room_price);
     return redirect('adminUpdateRoom_' . $id)->with('message', "Successfully Updated!!!");
 }