diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-23 10:46:48 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-23 10:46:48 +0100 |
commit | 0603971894a967f632020277c32a8e50ea165519 (patch) | |
tree | 7951334ed42713a8b318a50d92212a6f9a5e5fd6 /app/views/api | |
parent | 4bdb6a0eaffb39fb953689729c9fcf772c7128d6 (diff) |
Adding sensitive marker to statuses in API
Diffstat (limited to 'app/views/api')
-rw-r--r-- | app/views/api/v1/statuses/_show.rabl | 2 |
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) } |