From 5426f06ac29b9ef4d302d3f2d13b315dcf89e079 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 15 Feb 2017 00:22:58 +0100 Subject: Fix admin UI for accounts somewhat --- config/routes.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 7f55413ee..419b17ce1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -67,9 +67,12 @@ Rails.application.routes.draw do resources :domain_blocks, only: [:index, :create] resources :settings, only: [:index, :update] - resources :accounts, only: [:index, :show, :update] do + resources :accounts, only: [:index, :show] do member do + post :silence + post :unsilence post :suspend + post :unsuspend end end end -- cgit