Add batch actions for approving and rejecting pending accounts (#10469)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user