diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-27 16:58:23 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-27 16:59:08 +0200 |
commit | 4f9b7432dd4d323ac6cc4efceeae2efaffe62e7d (patch) | |
tree | acae9e59bd6971885f7cb7b7ed45c4c9d1af4fca /app/views/api/accounts/show.rabl | |
parent | 3f75f522856954690d92358107e78bafd0db0baa (diff) |
Fix #52 - Add API versioning (v1)
Diffstat (limited to 'app/views/api/accounts/show.rabl')
-rw-r--r-- | app/views/api/accounts/show.rabl | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/views/api/accounts/show.rabl b/app/views/api/accounts/show.rabl deleted file mode 100644 index 4f6a3ff99..000000000 --- a/app/views/api/accounts/show.rabl +++ /dev/null @@ -1,10 +0,0 @@ -object @account - -attributes :id, :username, :acct, :display_name, :note - -node(:url) { |account| TagManager.instance.url_for(account) } -node(:avatar) { |account| full_asset_url(account.avatar.url(:large, false)) } -node(:header) { |account| full_asset_url(account.header.url(:medium, false)) } -node(:followers_count) { |account| account.followers.count } -node(:following_count) { |account| account.following.count } -node(:statuses_count) { |account| account.statuses.count } |