fixed find person by handle
This commit is contained in:
parent
c937f76433
commit
42f5f7fc32
2 changed files with 2 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ module SocketsHelper
|
|||
:person => object,
|
||||
:all_aspects => user.aspects,
|
||||
:contact => user.contact_for(object),
|
||||
:request => user.request_from(object),
|
||||
:current_user => user}
|
||||
@all_aspects = user.aspects
|
||||
v = render_to_string(:partial => 'people/person', :locals => person_hash)
|
||||
|
||||
elsif object.is_a? Comment
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
.right
|
||||
= render :partial => 'people/relationship_action',
|
||||
:locals => { :person => person, :contact => contact,
|
||||
:request => request, :current_user => current_user }
|
||||
:current_user => current_user }
|
||||
|
||||
= person_image_link(person)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue