public function show($id, ShowRequest $request)
    {
        $activityLog = $this->repository->findWithoutFail($id);
        if (empty($activityLog)) {
            return $this->sendError('ActivityLog not found');
        }
        $activityLog->load($request->getWith());

        return $this->sendResponse($activityLog, '');
    }
public function show($id, ShowRequest $request)
    {
        $activityLog = $this->repository->findWithoutFail($id);
        if (empty($activityLog)) {
            return $this->sendError('ActivityLog not found');
        }
        $activityLog->load($request->getWith());

        return $this->sendResponse($activityLog, '');
    }
public function show ( $ id , ShowRequest $ request ) { $ activityLog = $ this -> repository -> findWithoutFail ( $ id ) ; if ( empty ( $ activityLog ) ) { return $ this -> sendError ( 'ActivityLog not found' ) ; } $ activityLog -> load ( $ request -> getWith ( ) ) ; return $ this -> sendResponse ( $ activityLog , '' ) ; }
Display the specified ActivityLog.

@param  int $id

@return JsonResponse
Display the specified ActivityLog .