lib/muck-friends/models/friend.rb
# Add activity that indicates user is following another user
Add activity that indicates user is following another user
Add activity that indicates user is following another user
def add_follow_activity
        return unless MuckFriends.configuration.enable_friend_activity
        content = I18n.t('muck.friends.follow_activity', :inviter => self.inviter.full_name, :invited => self.invited.full_name)
        add_activity(self.inviter.feed_to, self.inviter, self, 'follow', '', content)
      end
def add_follow_activity return unless MuckFriends . configuration . enable_friend_activity content = I18n . t ( 'muck.friends.follow_activity' , :inviter => self . inviter . full_name , :invited => self . invited . full_name ) add_activity ( self . inviter . feed_to , self . inviter , self , 'follow' , '' , content ) end
Add activity that indicates user is following another user
Add activity that indicates user is following another user