0
0
Fork 0

Add suspend account functionality to admin UI

This commit is contained in:
Eugen Rochko 2016-12-06 18:22:59 +01:00
parent f406e01fcf
commit f978b06dd1
7 changed files with 56 additions and 13 deletions

View file

@ -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