about summary refs log tree commit diff
path: root/app/views
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
parent53234e59479095968155bf7769e51614ef91c12d (diff)
Add AS2 format to RABL files
Diffstat (limited to 'app/views')
-rw-r--r--app/views/accounts/show.activitystreams2.rabl (renamed from app/views/accounts/show.rabl)2
-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
6 files changed, 7 insertions, 7 deletions
diff --git a/app/views/accounts/show.rabl b/app/views/accounts/show.activitystreams2.rabl
index def91b425..dabae3f29 100644
--- a/app/views/accounts/show.rabl
+++ b/app/views/accounts/show.activitystreams2.rabl
@@ -1,4 +1,4 @@
-extends 'activitypub/types/person.rabl'
+extends 'activitypub/types/person.activitystreams2.rabl'
 
 object @account
 
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' }