Module: Horde::Actions::FollowMethods::TargetMethods

Extended by:
ActiveSupport::Concern
Defined in:
lib/horde/actions/follow.rb

Overview

methods for something to be followed, like article, photo, etc. if your model is Article. Then you’ll get following methods

article.follows           # --> [follow]
article.followers          # --> [user]

follow.follower          # --> user
follow.followed_article  # --> article

user.followed_articles     # --> [article]

Defined Under Namespace

Modules: ClassMethods