예제 #1
0
 /**
  * @param $id
  * @return mixed
  */
 public function edit($id)
 {
     $units = Unit::with('Property')->findOrFail($id);
     return \Response::json(['success' => true, 'message' => 'Unit Loaded.', 'data' => $units]);
 }