mirror of
https://github.com/mastodon/mastodon
synced 2024-11-24 07:06:18 +09:00
Add AS2 format to RABL files
This commit is contained in:
parent
53234e5947
commit
28cbb6dc21
@ -1,4 +1,4 @@
|
||||
extends 'activitypub/types/person.rabl'
|
||||
extends 'activitypub/types/person.activitystreams2.rabl'
|
||||
|
||||
object @account
|
||||
|
3
app/views/activitypub/intransient.activitystreams2.rabl
Normal file
3
app/views/activitypub/intransient.activitystreams2.rabl
Normal file
@ -0,0 +1,3 @@
|
||||
extends 'activitypub/base.activitystreams2.rabl'
|
||||
|
||||
node(:id) { request.original_url }
|
@ -1,3 +0,0 @@
|
||||
extends 'activitypub/base.rabl'
|
||||
|
||||
node(:id) { request.original_url }
|
3
app/views/activitypub/types/person.activitystreams2.rabl
Normal file
3
app/views/activitypub/types/person.activitystreams2.rabl
Normal file
@ -0,0 +1,3 @@
|
||||
extends 'activitypub/intransient.activitystreams2.rabl'
|
||||
|
||||
node(:type) { 'Person' }
|
@ -1,3 +0,0 @@
|
||||
extends 'activitypub/intransient.rabl'
|
||||
|
||||
node(:type) { 'Person' }
|
Loading…
Reference in New Issue
Block a user