/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $perbaikan = Perbaikan::find($id); return Perbaikan::with('peralatan')->get()->find($id); }