DG MS; search now links user names if you're friends with them
This commit is contained in:
parent
edae8f1e66
commit
5fd105c1dc
1 changed files with 5 additions and 1 deletions
|
|
@ -18,7 +18,11 @@
|
|||
%th url
|
||||
- for person in @people
|
||||
%tr
|
||||
%td= person.real_name
|
||||
- if current_user.friends.include? person
|
||||
%td= link_to person.real_name, person
|
||||
- else
|
||||
%td= person.real_name
|
||||
|
||||
%td= person.email
|
||||
%td= person.url
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue