about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index e3fef9d56..f91a866ba 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -66,7 +66,15 @@ Rails.application.routes.draw do
     resources :pubsubhubbub, only: [:index]
     resources :domain_blocks, only: [:index, :create]
     resources :settings, only: [:index, :update]
-    resources :reports, only: [:index, :show]
+
+    resources :reports, only: [:index, :show] do
+      member do
+        post :resolve
+        post :silence
+        post :suspend
+        post :remove
+      end
+    end
 
     resources :accounts, only: [:index, :show] do
       member do