diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-08-18 17:13:41 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-08-18 17:22:44 +0200 |
commit | 6426819b6f7af0eff516340ca24d7f8af1cc6397 (patch) | |
tree | 9c0feba9adc9a603312a5a23c39f1ba08643117d /app/views/api/accounts | |
parent | 6deb9f966eb9a280cc16428ba9324ffc15ea60a8 (diff) |
Fix tests
Diffstat (limited to 'app/views/api/accounts')
-rw-r--r-- | app/views/api/accounts/show.rabl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/api/accounts/show.rabl b/app/views/api/accounts/show.rabl index df70943dd..05c92c99d 100644 --- a/app/views/api/accounts/show.rabl +++ b/app/views/api/accounts/show.rabl @@ -7,4 +7,4 @@ node(:avatar) { |account| asset_url(account.avatar.url(:large, false)) node(:followers_count) { |account| account.followers.count } node(:following_count) { |account| account.following.count } node(:statuses_count) { |account| account.statuses.count } -node(:following) { |account| current_user.account.following?(account) } +node(:following) { |account| current_account.following?(account) } |