about summary refs log tree commit diff
path: root/app/presenters
diff options
context:
space:
mode:
authornullkal <nullkal@nil.nu>2017-09-19 23:37:06 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-09-19 16:37:06 +0200
commit7d16bb379d1463471faf264bb89e24d5b8a505ca (patch)
treeda43f72d3d7772af68f477e8c28767b12beffa68 /app/presenters
parent0401a24558294b6941c30c922af3f2063dfd305e (diff)
Use OrderedCollectionPage to return followers/following list (#4949)
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/activitypub/collection_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/activitypub/collection_presenter.rb b/app/presenters/activitypub/collection_presenter.rb
index 631d87cd0..39657276f 100644
--- a/app/presenters/activitypub/collection_presenter.rb
+++ b/app/presenters/activitypub/collection_presenter.rb
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 class ActivityPub::CollectionPresenter < ActiveModelSerializers::Model
-  attributes :id, :type, :size, :items
+  attributes :id, :type, :size, :items, :part_of, :first, :next, :prev
 end