From d0f087db2df65bd4b6c4c4558ea39f14f38733c7 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 17 Feb 2017 00:42:52 +0100 Subject: Add UI to view report details, remove reported statuses, quick links to resolve/silence/suspend from report --- config/routes.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'config/routes.rb') 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 -- cgit