Add batch actions for approving and rejecting pending accounts (#10469)
This commit is contained in:
parent
2c63e0292a
commit
e1d0390e29
8 changed files with 130 additions and 3 deletions
|
@ -214,6 +214,13 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
resources :pending_accounts, only: [:index, :update] do
|
||||
collection do
|
||||
post :approve_all
|
||||
post :reject_all
|
||||
end
|
||||
end
|
||||
|
||||
resources :users, only: [] do
|
||||
resource :two_factor_authentication, only: [:destroy]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue