about summary refs log tree commit diff
path: root/app/views/api/v1/statuses
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-23 10:46:48 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-23 10:46:48 +0100
commit0603971894a967f632020277c32a8e50ea165519 (patch)
tree7951334ed42713a8b318a50d92212a6f9a5e5fd6 /app/views/api/v1/statuses
parent4bdb6a0eaffb39fb953689729c9fcf772c7128d6 (diff)
Adding sensitive marker to statuses in API
Diffstat (limited to 'app/views/api/v1/statuses')
-rw-r--r--app/views/api/v1/statuses/_show.rabl2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/api/v1/statuses/_show.rabl b/app/views/api/v1/statuses/_show.rabl
index 90457eca9..579c47b26 100644
--- a/app/views/api/v1/statuses/_show.rabl
+++ b/app/views/api/v1/statuses/_show.rabl
@@ -1,4 +1,4 @@
-attributes :id, :created_at, :in_reply_to_id
+attributes :id, :created_at, :in_reply_to_id, :sensitive
 
 node(:uri)              { |status| TagManager.instance.uri_for(status) }
 node(:content)          { |status| Formatter.instance.format(status) }