/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id, $taskId) { if ($this->checkProjectPermissions($id) == false) { return ['error' => 'Acesso Negado']; } return $this->repository->findWhere(['project_id' => $id, 'id' => $taskId]); }
/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id, $taskId) { return $this->repository->findWhere(['project_id' => $id, 'id' => $taskId]); }