diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-02-18 03:14:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-18 03:14:46 +0100 |
commit | cba2897108dffe69d5a16befe6c6220f6eaae59f (patch) | |
tree | e247261ff56fa1751e914d650a4a4710c6417dd1 /app/models/follow_request.rb | |
parent | 9b8a4484778fb55bcb2526992807a51270229b72 (diff) |
Cache relationships in API (#6482)
* Cache relationships in API * Fetch relationships for search results in UI * Only save one account's maps in each cache item
Diffstat (limited to 'app/models/follow_request.rb')
-rw-r--r-- | app/models/follow_request.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/follow_request.rb b/app/models/follow_request.rb index bd6c4a0b9..cde26ceed 100644 --- a/app/models/follow_request.rb +++ b/app/models/follow_request.rb @@ -13,6 +13,7 @@ class FollowRequest < ApplicationRecord include Paginable + include RelationshipCacheable belongs_to :account belongs_to :target_account, class_name: 'Account' |