MS being slightly more proper with application helper, and fixing the person search page
This commit is contained in:
parent
45509fb045
commit
e2fc48c9ff
2 changed files with 3 additions and 3 deletions
|
|
@ -43,11 +43,11 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def owner_image_tag
|
def owner_image_tag
|
||||||
person_image_tag(current_user)
|
person_image_tag(current_user.person)
|
||||||
end
|
end
|
||||||
|
|
||||||
def owner_image_link
|
def owner_image_link
|
||||||
person_image_link(current_user)
|
person_image_link(current_user.person)
|
||||||
end
|
end
|
||||||
|
|
||||||
def person_image_tag(person)
|
def person_image_tag(person)
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
.content
|
.content
|
||||||
%span.from
|
%span.from
|
||||||
= link_to person.real_name, person
|
= link_to person.real_name, person_path(person)
|
||||||
|
|
||||||
.info
|
.info
|
||||||
= person.diaspora_handle
|
= person.diaspora_handle
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue