discourse/app/serializers/basic_reviewable_user_seria...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
175 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class BasicReviewableUserSerializer < BasicReviewableSerializer
attributes :username
def username
object.payload["username"]
end
end