diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-04-06 17:53:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-06 17:53:45 +0200 |
commit | e1d0390e29b60a6fa06d91a5d33dfb0e81fe7dd7 (patch) | |
tree | f9ac0846d75644ca5e49e8e26433a2c63c1b4f22 /config/routes.rb | |
parent | 2c63e0292a0a0a530ce814246bb6762983808135 (diff) |
Add batch actions for approving and rejecting pending accounts (#10469)
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index a98dbb700..1ea6490b0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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 |