about summary refs log tree commit diff
path: root/app/presenters
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-05-04 19:19:11 +0200
committerGitHub <noreply@github.com>2018-05-04 19:19:11 +0200
commit2c1f7b2ece96c724f6230352974d4282ac51dfd5 (patch)
tree4d23240183d1568391150440c3d78bf97c1f03b3 /app/presenters
parentd181aad03387b87b5cb82867f8efb3b635093f11 (diff)
Better pagination for ActivityPub outbox (#7356)
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 39657276f..ec84ab1a3 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, :part_of, :first, :next, :prev
+  attributes :id, :type, :size, :items, :part_of, :first, :last, :next, :prev
 end