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
|
||||
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue