about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-04-08 18:35:41 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-04-08 18:35:41 +0200
commit5247ea4efd3683154d52efe4385bdbb63f476943 (patch)
tree0b41b06d75f97ab241687d5da982c4f692c93149 /config/routes.rb
parent3f036ac6b8f9919b3b141012db163476f18fe299 (diff)
Fix batch actions not working on pending accounts (#10508)
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 1ea6490b0..34d0081e7 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -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