MS being slightly more proper with application helper, and fixing the person search page

This commit is contained in:
maxwell 2010-09-20 16:44:35 -07:00
parent 45509fb045
commit e2fc48c9ff
2 changed files with 3 additions and 3 deletions

View file

@ -43,11 +43,11 @@ module ApplicationHelper
end
def owner_image_tag
person_image_tag(current_user)
person_image_tag(current_user.person)
end
def owner_image_link
person_image_link(current_user)
person_image_link(current_user.person)
end
def person_image_tag(person)

View file

@ -8,7 +8,7 @@
.content
%span.from
= link_to person.real_name, person
= link_to person.real_name, person_path(person)
.info
= person.diaspora_handle