about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-06-28 20:02:14 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:41:03 -0500
commitc69b3d9a61f9cf8b9c1a0fb6ee3fc2c7f075ab89 (patch)
tree5003de8ac8e1b9e79253530aa33f7628f0884e69 /config/routes.rb
parentfbbf4ab62cf0cf3ec54cedb4848c4bcdecdf677b (diff)
[Transparency] Add /api/v1/admin/domain_allows and /api/v1/admin/domain_blocks endpoints
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 56ba41ec5..801d4c541 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -468,6 +468,9 @@ Rails.application.routes.draw do
           resource :action, only: [:create], controller: 'account_actions'
         end
 
+        resource :domain_blocks, only: [:show]
+        resource :domain_allows, only: [:show]
+
         resources :reports, only: [:index, :show] do
           member do
             post :assign_to_self