/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $job = job::find($id); if (!$job) { return $this->respondNotFound('Job does not exist'); } return Response::json(['data' => $this->jobTransformer->transform($job)], 200); }