about summary refs log tree commit diff
path: root/app/views/api/activitypub/notes/show.activitystreams2.rabl
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/api/activitypub/notes/show.activitystreams2.rabl')
-rw-r--r--app/views/api/activitypub/notes/show.activitystreams2.rabl11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/views/api/activitypub/notes/show.activitystreams2.rabl b/app/views/api/activitypub/notes/show.activitystreams2.rabl
deleted file mode 100644
index d962f4438..000000000
--- a/app/views/api/activitypub/notes/show.activitystreams2.rabl
+++ /dev/null
@@ -1,11 +0,0 @@
-extends 'activitypub/types/note.activitystreams2.rabl'
-
-object @status
-
-attributes :content
-
-node(:name)         { |status| status.content }
-node(:url)          { |status| TagManager.instance.url_for(status) }
-node(:attributedTo) { |status| TagManager.instance.url_for(status.account) }
-node(:inReplyTo)    { |status| api_activitypub_note_url(status.thread) } if @status.thread
-node(:published)    { |status| status.created_at.to_time.xmlschema }