about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-29 20:12:32 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-29 20:12:32 +0100
commit49834a6e7f06301a5bcc17b8771ed4513622b6a8 (patch)
treef0e48340e59700ace604701f25345c1532875c4b /config
parent8724094ed0e531f4435bf2784c9c1b7176acd764 (diff)
Add API for retrieving blocked accounts
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 1468d426b..7a1d38ad2 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -100,6 +100,7 @@ Rails.application.routes.draw do
       resources :follows,  only: [:create]
       resources :media,    only: [:create]
       resources :apps,     only: [:create]
+      resources :blocks,   only: [:index]
 
       resources :follow_requests, only: [:index] do
         member do