summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-04-19 11:42:39 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-04-19 11:42:39 +0200
commit45525edd5b8eea87a2e0ef48907b71439587361d (patch)
tree255b56925ef59401f527aeee843d313c8e940119
parent8614ff758492ecd90cf0dafce98b858901c0ea4a (diff)
downloadgitlab-ce-dz/system-hooks-ui.tar.gz
Add push events to permit params in system hooksdz/system-hooks-ui
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/controllers/admin/hooks_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/hooks_controller.rb b/app/controllers/admin/hooks_controller.rb
index 0bd19c49d8f..93c4894ea0f 100644
--- a/app/controllers/admin/hooks_controller.rb
+++ b/app/controllers/admin/hooks_controller.rb
@@ -39,6 +39,6 @@ class Admin::HooksController < Admin::ApplicationController
end
def hook_params
- params.require(:hook).permit(:url, :enable_ssl_verification)
+ params.require(:hook).permit(:url, :enable_ssl_verification, :push_events, :tag_push_events)
end
end