/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { if ($this->checkProjectPermissions($id) == false) { return ['error' => true, 'message' => 'Access forbidden']; } return $this->service->show($id); }
/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id) { return $this->service->show($id); //return $this->repository->find($id); }
/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { return $this->service->show($id); }