mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
MS being slightly more proper with application helper, and fixing the person search page
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user