diff options
author | bugagazavr <kirik910@gmail.com> | 2015-01-24 03:10:43 +0300 |
---|---|---|
committer | Kirill Zaitsev <kirik910@gmail.com> | 2015-04-25 21:31:52 +0300 |
commit | 548f182814acd0f7a110e6c165c186e345901b00 (patch) | |
tree | 26bb991cb343dd48c81f1004016817e634ee5039 /app/controllers/admin | |
parent | 5cb325b50188fb2ba6483e710a29350c4b0b06ae (diff) | |
download | gitlab-ce-548f182814acd0f7a110e6c165c186e345901b00.tar.gz |
Added X-GitLab-Event header for web hooks
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/hooks_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/hooks_controller.rb b/app/controllers/admin/hooks_controller.rb index 0a463239d74..690096bdbcf 100644 --- a/app/controllers/admin/hooks_controller.rb +++ b/app/controllers/admin/hooks_controller.rb @@ -33,7 +33,7 @@ class Admin::HooksController < Admin::ApplicationController owner_name: "Someone", owner_email: "example@gitlabhq.com" } - @hook.execute(data) + @hook.execute(data, 'system_hooks') redirect_to :back end |