/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { return $this->service->show($id, ['project']); }
/** * 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']); }