/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function perbaikan($id = null)
 {
     if ($id == null) {
         return Perbaikan::orderBy('id', 'desc')->with('peralatan')->get();
         //return Response::json($perbaikans);
     } else {
         return $this->show($id);
     }
 }