diff options
Diffstat (limited to 'app/views/api/statuses')
-rw-r--r-- | app/views/api/statuses/show.rabl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/api/statuses/show.rabl b/app/views/api/statuses/show.rabl index c7d028e14..047436b61 100644 --- a/app/views/api/statuses/show.rabl +++ b/app/views/api/statuses/show.rabl @@ -1,9 +1,9 @@ object @status attributes :id, :created_at, :in_reply_to_id -node(:uri) { |status| uri_for_target(status) } -node(:content) { |status| content_for_status(status) } -node(:url) { |status| url_for_target(status) } +node(:uri) { |status| TagManager.instance.uri_for(status) } +node(:content) { |status| Formatter.instance.format(status) } +node(:url) { |status| TagManager.instance.url_for(status) } node(:reblogs_count) { |status| status.reblogs_count } node(:favourites_count) { |status| status.favourites_count } node(:favourited) { |status| current_account.favourited?(status) } |