コード例 #1
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id, $taskId)
 {
     if (!$this->checkProjectTaskPermissions($id)) {
         return ['error' => 'Access Forbidden'];
     }
     return $this->service->find($id, $taskId);
 }
コード例 #2
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function show($id, $projectMemberId)
 {
     return $this->service->find($projectMemberId);
 }