mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 20:24:47 +08:00
UX: show user name and title on about page
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
class UserNameSerializer < ApplicationSerializer
|
||||
attributes :id, :username, :name, :uploaded_avatar_id, :avatar_template
|
||||
attributes :id, :username, :name, :title, :uploaded_avatar_id, :avatar_template
|
||||
|
||||
def include_name?
|
||||
SiteSetting.enable_names?
|
||||
|
Reference in New Issue
Block a user