diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-26 19:30:45 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-26 19:30:45 +0100 |
commit | 004382e4d09f90e5ca824996c4b20e99599bf98f (patch) | |
tree | 7ade0c42cdc314045b1038489384f1b998d8b4ca /app/models | |
parent | 7376af90f79b1de0c4cdd294f3f4d1481eedf0d7 (diff) |
Adding follow requests API
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/follow_request.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/follow_request.rb b/app/models/follow_request.rb index 132316fb4..b46065d53 100644 --- a/app/models/follow_request.rb +++ b/app/models/follow_request.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true class FollowRequest < ApplicationRecord + include Paginable + belongs_to :account belongs_to :target_account, class_name: 'Account' |