diff options
author | Stan Hu <stanhu@gmail.com> | 2015-05-16 09:33:31 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-05-22 06:48:16 +0300 |
commit | deeff56967516764b287e15b2063899b13395b41 (patch) | |
tree | 6ccb51e39d3e2e670aba8ef3bb7fa24e7ed232a8 /app/controllers/projects/hooks_controller.rb | |
parent | 2b1b026a1e8c7654b475aa0aaacf3121e86ee2a5 (diff) |
Add support for Webhook note events
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
Diffstat (limited to 'app/controllers/projects/hooks_controller.rb')
-rw-r--r-- | app/controllers/projects/hooks_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/hooks_controller.rb b/app/controllers/projects/hooks_controller.rb index 57fc48ac7da..76062446c92 100644 --- a/app/controllers/projects/hooks_controller.rb +++ b/app/controllers/projects/hooks_controller.rb @@ -53,6 +53,6 @@ class Projects::HooksController < Projects::ApplicationController end def hook_params - params.require(:hook).permit(:url, :push_events, :issues_events, :merge_requests_events, :tag_push_events) + params.require(:hook).permit(:url, :push_events, :issues_events, :merge_requests_events, :tag_push_events, :note_events) end end |