/**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     return $this->service->show($id, ['project']);
 }
Exemplo n.º 2
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $userId = Authorizer::getResourceOwnerId();
     return $this->service->show($id, $userId, ['notes', 'owner', 'client', 'members']);
 }