Module: UsersHelper

Defined in:
app/helpers/users_helper.rb

Instance Method Summary collapse

Instance Method Details

#friends?(user, friend) ⇒ Boolean

Returns:

  • (Boolean)


2
3
4
# File 'app/helpers/users_helper.rb', line 2

def friends?(user, friend)
  Friendship.friends?(user, friend)
end