Add suspend account functionality to admin UI
This commit is contained in:
parent
f406e01fcf
commit
f978b06dd1
7 changed files with 56 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue