0
0
Fork 0

Fix batch actions not working on pending accounts (#10508)

This commit is contained in:
ThibG 2019-04-08 18:35:41 +02:00 committed by Eugen Rochko
parent 3f036ac6b8
commit 5247ea4efd
4 changed files with 6 additions and 4 deletions

View file

@ -214,10 +214,11 @@ Rails.application.routes.draw do
end
end
resources :pending_accounts, only: [:index, :update] do
resources :pending_accounts, only: [:index] do
collection do
post :approve_all
post :reject_all
post :batch
end
end