Revert "fix in person partial"

This reverts commit 8c0bc4b9e6.
This commit is contained in:
Raphael 2010-09-23 16:21:08 -07:00
parent 264555e63b
commit d748d456b5
2 changed files with 2 additions and 9 deletions

View file

@ -57,11 +57,7 @@ module ApplicationHelper
end
def person_image_link(person)
if current_user.friends.include?(person) || current_user.person == person
link_to person_image_tag(person), object_path(person)
else
person_image_tag person
end
link_to person_image_tag(person), object_path(person)
end
def new_request(request_count)

View file

@ -8,10 +8,7 @@
.content
%span.from
- if current_user.friends.include?(person) || person.id == current_user.person.id
= link_to person.real_name, person_path(person)
- else
= person.real_name
= link_to person.real_name, person_path(person)
.info
= person.diaspora_handle