fix member first/last name display order for zh_tw

This commit is contained in:
manson 2014-09-12 14:39:38 +08:00
parent ef55afceae
commit 424d3fa559
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class MemberProfile
def name
if self.first_name || self.last_name
"#{self.first_name} #{self.last_name}"
I18n.locale.eql?(:zh_tw) ? "#{self.last_name} #{self.first_name}" : "#{self.first_name} #{self.last_name}"
end
end