DEV: Add reviewables tab to the new user menu (#17630)

This commit is a subset of the changes proposed in https://github.com/discourse/discourse/pull/17379.
This commit is contained in:
Osama Sayegh
2022-07-28 11:16:33 +03:00
committed by GitHub
parent f4b45df83f
commit 988a175e94
38 changed files with 935 additions and 26 deletions

View File

@ -0,0 +1,9 @@
# frozen_string_literal: true
class BasicReviewableUserSerializer < BasicReviewableSerializer
attributes :username
def username
object.payload["username"]
end
end