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,
|
:person => object,
|
||||||
:all_aspects => user.aspects,
|
:all_aspects => user.aspects,
|
||||||
:contact => user.contact_for(object),
|
:contact => user.contact_for(object),
|
||||||
:request => user.request_from(object),
|
|
||||||
:current_user => user}
|
:current_user => user}
|
||||||
|
@all_aspects = user.aspects
|
||||||
v = render_to_string(:partial => 'people/person', :locals => person_hash)
|
v = render_to_string(:partial => 'people/person', :locals => person_hash)
|
||||||
|
|
||||||
elsif object.is_a? Comment
|
elsif object.is_a? Comment
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
.right
|
.right
|
||||||
= render :partial => 'people/relationship_action',
|
= render :partial => 'people/relationship_action',
|
||||||
:locals => { :person => person, :contact => contact,
|
:locals => { :person => person, :contact => contact,
|
||||||
:request => request, :current_user => current_user }
|
:current_user => current_user }
|
||||||
|
|
||||||
= person_image_link(person)
|
= person_image_link(person)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue