Add invite comments (#10465)
This commit is contained in:
parent
9b6a5ed109
commit
cb62a83a71
7 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue