UX: show user name and title on about page

This commit is contained in:
Arpit Jalan
2015-02-27 00:56:00 +05:30
parent 228d3240eb
commit 98f28e1830
3 changed files with 43 additions and 11 deletions

View File

@ -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?