mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 06:18:14 +08:00
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:
9
app/serializers/basic_reviewable_user_serializer.rb
Normal file
9
app/serializers/basic_reviewable_user_serializer.rb
Normal file
@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class BasicReviewableUserSerializer < BasicReviewableSerializer
|
||||
attributes :username
|
||||
|
||||
def username
|
||||
object.payload["username"]
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user