about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-17 01:30:24 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-17 01:30:24 +0100
commit8132cf8153e45aa75333c5bfd636141e1792bd50 (patch)
tree39c1732ff8b8302bfa17bcca1c6c518653a7fe97 /config
parentd0f087db2df65bd4b6c4c4558ea39f14f38733c7 (diff)
Add GET /api/v1/accounts/:id/statuses/media that returns only statuses with media attachments
Make replies default to privacy settings of the status being replied to
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index f91a866ba..70e252409 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -151,6 +151,7 @@ Rails.application.routes.draw do
 
         member do
           get :statuses
+          get 'statuses/media', to: 'accounts#media_statuses', as: :media_statuses
           get :followers
           get :following