public function show($id) { //show single $record = Package::with($this->related)->findOrFail($id); return $record; }