about summary refs log tree commit diff
path: root/app/views/api/v1
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-29 01:29:19 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-29 01:29:19 +0200
commite0a197650a30bec9dae26d714168700bc9ce93ed (patch)
tree5f590c5b2f393734be7aea5e19c1ecaa8c85857f /app/views/api/v1
parentc913bdfc98baab25a78866d5d2b0f0c33e017afa (diff)
Adding common followers API, fixing fallback query again
Diffstat (limited to 'app/views/api/v1')
-rw-r--r--app/views/api/v1/accounts/followers.rabl2
-rw-r--r--app/views/api/v1/accounts/following.rabl2
-rw-r--r--app/views/api/v1/accounts/index.rabl2
-rw-r--r--app/views/api/v1/accounts/statuses.rabl2
-rw-r--r--app/views/api/v1/accounts/suggestions.rabl2
5 files changed, 3 insertions, 7 deletions
diff --git a/app/views/api/v1/accounts/followers.rabl b/app/views/api/v1/accounts/followers.rabl
deleted file mode 100644
index c54b0487e..000000000
--- a/app/views/api/v1/accounts/followers.rabl
+++ /dev/null
@@ -1,2 +0,0 @@
-collection @followers
-extends('api/v1/accounts/show')
diff --git a/app/views/api/v1/accounts/following.rabl b/app/views/api/v1/accounts/following.rabl
deleted file mode 100644
index 87b454ffa..000000000
--- a/app/views/api/v1/accounts/following.rabl
+++ /dev/null
@@ -1,2 +0,0 @@
-collection @following
-extends('api/v1/accounts/show')
diff --git a/app/views/api/v1/accounts/index.rabl b/app/views/api/v1/accounts/index.rabl
new file mode 100644
index 000000000..9f3b13a53
--- /dev/null
+++ b/app/views/api/v1/accounts/index.rabl
@@ -0,0 +1,2 @@
+collection @accounts
+extends 'api/v1/accounts/show'
diff --git a/app/views/api/v1/accounts/statuses.rabl b/app/views/api/v1/accounts/statuses.rabl
index 0a0ed13c5..44d29d91b 100644
--- a/app/views/api/v1/accounts/statuses.rabl
+++ b/app/views/api/v1/accounts/statuses.rabl
@@ -1,2 +1,2 @@
 collection @statuses
-extends('api/v1/statuses/show')
+extends 'api/v1/statuses/show'
diff --git a/app/views/api/v1/accounts/suggestions.rabl b/app/views/api/v1/accounts/suggestions.rabl
deleted file mode 100644
index f4dc121ea..000000000
--- a/app/views/api/v1/accounts/suggestions.rabl
+++ /dev/null
@@ -1,2 +0,0 @@
-collection @accounts
-extends('api/v1/accounts/show')