Fix #2352: return raw usernames in API instead of pretty names.

This commit is contained in:
evazion
2017-04-30 01:29:21 -05:00
parent b6e1958917
commit 7ade3b6831
6 changed files with 6 additions and 6 deletions

View File

@@ -124,7 +124,7 @@ class Note < ActiveRecord::Base
end
def creator_name
User.id_to_name(creator_id).tr("_", " ")
User.id_to_name(creator_id)
end
def update_post