Module: ServicesHelper

Defined in:
app/helpers/services_helper.rb

Constant Summary collapse

@@contact_proxy =
Contact.new(:aspects => [])

Instance Method Summary collapse

Instance Method Details

#contact_proxy(friend) ⇒ Object


3
4
5
# File 'app/helpers/services_helper.rb', line 3

def contact_proxy(friend)
  friend.contact || @@contact_proxy.dup.tap{|c| c.person = friend.person}
end