Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV: Stop using FoundUserWithStatusSerializer (#546)
Starting from discourse/discourse@b3a1199 we stop using deprecated "WithStatus" serializers. Instead we'll be passing an 'include_status' option to serilaizers, for example: ```ruby # before BasicUserWithStatusSerializer.new(user) ArraySerializer.new(users, each_serializer: BasicUserWithStatusSerializer) # now BasicUserSerializer.new(user, include_status: true) ArraySerializer.new(users, each_serializer: BasicUserSerializer, include_status: true) ```
- Loading branch information