about summary refs log tree commit diff
path: root/app/serializers/activitypub/outbox_serializer.rb
blob: 48fbad0fde5071493f13369a6236ffcbc1e56a9f (plain) (blame)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

class ActivityPub::OutboxSerializer < ActivityPub::CollectionSerializer
  def self.serializer_for(model, options)
    return ActivityPub::ActivitySerializer if model.is_a?(Status)
    super
  end
end