diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index a77a671d8..9c7d65c1e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -29,7 +29,7 @@ module ApplicationHelper when "User" user_path(person) else - link_to "unknown person", "#" + "unknown person" end end diff --git a/app/models/person.rb b/app/models/person.rb index bcdcea5bf..73161780b 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -26,7 +26,7 @@ class Person before_validation :clean_url def real_name - profile.first_name + " " + profile.last_name + profile.first_name.to_s + " " + profile.last_name.to_s end