/** * Display the specified resource. * * @param $id * @return mixed */ public function show($id) { if (!is_numeric($id)) { return Controller::response(Controller::error(38), 400); } $category = $this->category->pullCategory($id); $response = $category->first(); return Controller::response($response, 200); }