summaryrefslogtreecommitdiff
path: root/app/controllers/admin
diff options
context:
space:
mode:
authorbugagazavr <kirik910@gmail.com>2015-01-24 03:10:43 +0300
committerKirill Zaitsev <kirik910@gmail.com>2015-04-25 21:31:52 +0300
commit548f182814acd0f7a110e6c165c186e345901b00 (patch)
tree26bb991cb343dd48c81f1004016817e634ee5039 /app/controllers/admin
parent5cb325b50188fb2ba6483e710a29350c4b0b06ae (diff)
downloadgitlab-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.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 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