about summary refs log tree commit diff
path: root/app/controllers/admin/invites_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin/invites_controller.rb')
-rw-r--r--app/controllers/admin/invites_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/invites_controller.rb b/app/controllers/admin/invites_controller.rb
index 44a8eec77..dabfe9765 100644
--- a/app/controllers/admin/invites_controller.rb
+++ b/app/controllers/admin/invites_controller.rb
@@ -47,7 +47,7 @@ module Admin
     end
 
     def filter_params
-      params.permit(:available, :expired)
+      params.slice(*InviteFilter::KEYS).permit(*InviteFilter::KEYS)
     end
   end
 end