about summary refs log tree commit diff
path: root/app/views/api/follows/show.rabl
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-07 12:52:25 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-07 12:52:25 +0100
commitffe48fd7c6b970bc9b98bf999535e49572e82035 (patch)
tree518c106efbca8b9060cef6283d7676f614ada81e /app/views/api/follows/show.rabl
parentab6696e855b58cdb2b6264c9acb0397dd7384e25 (diff)
Improving how the API responses look
Diffstat (limited to 'app/views/api/follows/show.rabl')
-rw-r--r--app/views/api/follows/show.rabl7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/views/api/follows/show.rabl b/app/views/api/follows/show.rabl
index 38c3424da..e5b52b828 100644
--- a/app/views/api/follows/show.rabl
+++ b/app/views/api/follows/show.rabl
@@ -1,5 +1,2 @@
-object @follow
-
-child :target_account => :target_account do
-  extends('api/accounts/show')
-end
+object @follow.target_account
+extends('api/accounts/show')