diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-15 00:22:58 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-15 00:22:58 +0100 |
commit | 5426f06ac29b9ef4d302d3f2d13b315dcf89e079 (patch) | |
tree | d4a3c2b1e5cefc544748e46ed34471a3da345a14 /config/routes.rb | |
parent | 0a2427f79b90f82100b3a4ebe95ceb488cbb5a1d (diff) |
Fix admin UI for accounts somewhat
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 4 insertions, 1 deletions
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 |