mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 10:30:15 -05:00
Link the extensions endpoint from AP's "endpoints"
This is in line with cwebber's proposal at https://github.com/swicg/general/issues/22
This commit is contained in:
parent
f02150468b
commit
3d80ba01d7
@ -27,7 +27,11 @@ class ActivityPub::ActorSerializer < ActiveModel::Serializer
|
||||
class EndpointsSerializer < ActiveModel::Serializer
|
||||
include RoutingHelper
|
||||
|
||||
attributes :shared_inbox
|
||||
attributes :extensions, :shared_inbox
|
||||
|
||||
def extensions
|
||||
api_v1_extensions_url
|
||||
end
|
||||
|
||||
def shared_inbox
|
||||
inbox_url
|
||||
|
Loading…
Reference in New Issue
Block a user