From e46abc71cad590c2113247d41feca80d27a557b0 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 21 Sep 2016 22:07:18 +0200 Subject: Fix notifications in UI, added new API for fetching account relationships --- config/routes.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config') 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 -- cgit