src/Http/Controllers/UserNotificationController.php
public function markAsRead($uid)
    {
        if(!$object = $this->model->find($uid)) {
            abort(404);
        }

        $this->authorize('update', $object);

        $object->markAsRead();

        \Cache::tags('response')->flush();

        return $this->successJsonResponse();
    }
public function markAsRead($uid)
    {
        if(!$object = $this->model->find($uid)) {
            abort(404);
        }

        $this->authorize('update', $object);

        $object->markAsRead();

        \Cache::tags('response')->flush();

        return $this->successJsonResponse();
    }
Mark as read

@param $uid
@return \Illuminate\Http\JsonResponse