about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-21 22:07:18 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-21 22:07:18 +0200
commite46abc71cad590c2113247d41feca80d27a557b0 (patch)
tree7c7947aa82231a1d28fd2240a689ca057550ea1d /config
parent4bec613897d8835bb78202c7a36691b654f14967 (diff)
Fix notifications in UI, added new API for fetching account relationships
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 1232f8a44..51f1f86da 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -59,6 +59,10 @@ Rails.application.routes.draw do
     resources :media,    only: [:create]
 
     resources :accounts, only: [:show] do
+      collection do
+        get :relationships
+      end
+
       member do
         get :statuses
         get :followers