about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-17 00:42:52 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-17 00:42:52 +0100
commitd0f087db2df65bd4b6c4c4558ea39f14f38733c7 (patch)
tree01b92005cb0a221469a67492643480f8e461831d /config
parent9c88d1b99ea2baa5e55251dc98f10b1ee0559ee9 (diff)
Add UI to view report details, remove reported statuses, quick links to resolve/silence/suspend from report
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