Remove unused ActivityPub @context values depending on response (#10378)

Fix #8078
This commit is contained in:
Eugen Rochko
2019-03-27 15:55:23 +01:00
committed by GitHub
parent a91acf79b5
commit 11fe293e1b
28 changed files with 234 additions and 60 deletions

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
class ActivityPub::RemoveSerializer < ActiveModel::Serializer
class ActivityPub::RemoveSerializer < ActivityPub::Serializer
include RoutingHelper
attributes :type, :actor, :target