about summary refs log tree commit diff
path: root/app/views/activitypub
diff options
context:
space:
mode:
authorEvan Minto <evan.minto@gmail.com>2017-02-06 17:00:55 -0800
committerEvan Minto <evan.minto@gmail.com>2017-02-06 17:00:55 -0800
commit28cbb6dc2176cb9ba57841c6dc52b9dbfaf074c8 (patch)
treeb724cea7b5663860482d4bf6f03a4446e9693ba7 /app/views/activitypub
parent53234e59479095968155bf7769e51614ef91c12d (diff)
Add AS2 format to RABL files
Diffstat (limited to 'app/views/activitypub')
-rw-r--r--app/views/activitypub/base.activitystreams2.rabl (renamed from app/views/activitypub/base.rabl)0
-rw-r--r--app/views/activitypub/intransient.activitystreams2.rabl3
-rw-r--r--app/views/activitypub/intransient.rabl3
-rw-r--r--app/views/activitypub/types/person.activitystreams2.rabl3
-rw-r--r--app/views/activitypub/types/person.rabl3
5 files changed, 6 insertions, 6 deletions
diff --git a/app/views/activitypub/base.rabl b/app/views/activitypub/base.activitystreams2.rabl
index c5e94997a..c5e94997a 100644
--- a/app/views/activitypub/base.rabl
+++ b/app/views/activitypub/base.activitystreams2.rabl
diff --git a/app/views/activitypub/intransient.activitystreams2.rabl b/app/views/activitypub/intransient.activitystreams2.rabl
new file mode 100644
index 000000000..968e451c2
--- /dev/null
+++ b/app/views/activitypub/intransient.activitystreams2.rabl
@@ -0,0 +1,3 @@
+extends 'activitypub/base.activitystreams2.rabl'
+
+node(:id) { request.original_url }
diff --git a/app/views/activitypub/intransient.rabl b/app/views/activitypub/intransient.rabl
deleted file mode 100644
index 21261f56d..000000000
--- a/app/views/activitypub/intransient.rabl
+++ /dev/null
@@ -1,3 +0,0 @@
-extends 'activitypub/base.rabl'
-
-node(:id) { request.original_url }
diff --git a/app/views/activitypub/types/person.activitystreams2.rabl b/app/views/activitypub/types/person.activitystreams2.rabl
new file mode 100644
index 000000000..487a60791
--- /dev/null
+++ b/app/views/activitypub/types/person.activitystreams2.rabl
@@ -0,0 +1,3 @@
+extends 'activitypub/intransient.activitystreams2.rabl'
+
+node(:type) { 'Person' }
diff --git a/app/views/activitypub/types/person.rabl b/app/views/activitypub/types/person.rabl
deleted file mode 100644
index c284fc53b..000000000
--- a/app/views/activitypub/types/person.rabl
+++ /dev/null
@@ -1,3 +0,0 @@
-extends 'activitypub/intransient.rabl'
-
-node(:type) { 'Person' }