Add webhook templating (#23289)

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2023-06-06 10:42:47 +02:00
committed by GitHub
parent a80efb449e
commit 4eda233e09
10 changed files with 134 additions and 11 deletions

View File

@ -71,7 +71,7 @@ module Admin
end
def resource_params
params.require(:webhook).permit(:url, events: [])
params.require(:webhook).permit(:url, :template, events: [])
end
end
end