public function childShow(FilterRequest $filters, $id, $idChild, $relation)
    {
        $id = $this->getRealId($id);
        $idChild = $this->getRealId($idChild);
        
        $resource = $this->repository->getChild($id, $relation, $idChild, $filters);
        
        if (! $resource) {
            // return $this->notFound();
        }
        
        return $this->success($resource);
    }
public function childShow(FilterRequest $filters, $id, $idChild, $relation)
    {
        $id = $this->getRealId($id);
        $idChild = $this->getRealId($idChild);
        
        $resource = $this->repository->getChild($id, $relation, $idChild, $filters);
        
        if (! $resource) {
            // return $this->notFound();
        }
        
        return $this->success($resource);
    }
public function childShow ( FilterRequest $ filters , $ id , $ idChild , $ relation ) { $ id = $ this -> getRealId ( $ id ) ; $ idChild = $ this -> getRealId ( $ idChild ) ; $ resource = $ this -> repository -> getChild ( $ id , $ relation , $ idChild , $ filters ) ; if ( ! $ resource ) { // return $this->notFound(); } return $ this -> success ( $ resource ) ; }
Display a listing of the child resource.

@return \Illuminate\Http\Response
Display a listing of the child resource .