diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-06 18:22:59 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-06 18:22:59 +0100 |
commit | f978b06dd188fef4c2ece5e787818579b663ddf8 (patch) | |
tree | 70a0969b208ac3b0393c5fb9e54b8bd222782e6f /config/routes.rb | |
parent | f406e01fcf7d69045cf3ad8ea8dea51acd85535b (diff) |
Add suspend account functionality to admin UI
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index ac53bbed6..cde84d3bc 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -46,7 +46,12 @@ Rails.application.routes.draw do namespace :admin do resources :pubsubhubbub, only: [:index] - resources :accounts, only: [:index, :show, :update] + + resources :accounts, only: [:index, :show, :update] do + member do + post :suspend + end + end end namespace :api do |