about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-08-19 11:40:42 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-08-19 11:40:42 +0200
commitcb62a83a71a9679061f8daa468119124b5da5e76 (patch)
treede738499adbad4d4ebbd76401b3632946d0fa96e /app/controllers
parent9b6a5ed109e1986149c1f15a41d4f442ae8ae39c (diff)
Add invite comments (#10465)
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/invites_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/invites_controller.rb b/app/controllers/invites_controller.rb
index de5280305..8d92147e2 100644
--- a/app/controllers/invites_controller.rb
+++ b/app/controllers/invites_controller.rb
@@ -43,7 +43,7 @@ class InvitesController < ApplicationController
   end
 
   def resource_params
-    params.require(:invite).permit(:max_uses, :expires_in, :autofollow)
+    params.require(:invite).permit(:max_uses, :expires_in, :autofollow, :comment)
   end
 
   def set_body_classes