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/statuses/show.rabl | |
parent | 6deb9f966eb9a280cc16428ba9324ffc15ea60a8 (diff) |
Fix tests
Diffstat (limited to 'app/views/api/statuses/show.rabl')
-rw-r--r-- | app/views/api/statuses/show.rabl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/api/statuses/show.rabl b/app/views/api/statuses/show.rabl index b4a73f9a6..0f4418870 100644 --- a/app/views/api/statuses/show.rabl +++ b/app/views/api/statuses/show.rabl @@ -6,8 +6,8 @@ node(:content) { |status| content_for_status(status) } node(:url) { |status| url_for_target(status) } node(:reblogs_count) { |status| status.reblogs_count } node(:favourites_count) { |status| status.favourites_count } -node(:favourited) { |status| current_user.account.favourited?(status) } -node(:reblogged) { |status| current_user.account.reblogged?(status) } +node(:favourited) { |status| current_account.favourited?(status) } +node(:reblogged) { |status| current_account.reblogged?(status) } child :reblog => :reblog do extends('api/statuses/show') |