Sha256: e373ae741458a72842030d250828b8233224dbd233cd8745f4a29dc83c51cfb2
Contents?: true
Size: 388 Bytes
Versions: 73
Compression:
Stored size: 388 Bytes
Contents
# This relation model implements Twitter-like relations: # Users just have followers and followings. # # Use this model setting <tt>config.relation_model = :follow</tt> in your # <tt>config/initializers/social_stream.rb</tt> class Relation::Follow < Relation::Single PERMISSIONS = [ [ 'create', 'activity' ], [ 'read', 'activity' ], [ 'follow', nil ] ] end
Version data entries
73 entries across 73 versions & 2 rubygems