change name format

This commit is contained in:
Matthew K. Fu JuYuan 2012-07-03 16:05:19 +08:00
parent 56ecf9c69b
commit d0632b2e4c
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class User
if info
first_name = get_attribute_values.detect {|value| value.key.to_s.eql?('first_name') }[I18n.locale.to_s] rescue nil
last_name = get_attribute_values.detect {|value| value.key.to_s.eql?('last_name') }[I18n.locale.to_s] rescue nil
return "#{first_name} #{last_name}"
return "#{last_name} #{first_name}"
else
return nil
end