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