summaryrefslogtreecommitdiff
path: root/app/controllers/admin/hooks_controller.rb
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-04-27 16:29:31 +0300
committerValery Sizov <vsv2711@gmail.com>2015-04-27 16:29:31 +0300
commitbc9ba5237cafd4b24405596f0c9e8af099635c29 (patch)
tree82ded5d3c0cbc39a9bfd0430684757d7309c9a88 /app/controllers/admin/hooks_controller.rb
parentbb8c1cadf39415d2f916d135e8bbfdce49842f2f (diff)
downloadgitlab-ce-bc9ba5237cafd4b24405596f0c9e8af099635c29.tar.gz
Revert "Added X-GitLab-Event header for web hooks"
This reverts commit 548f182814acd0f7a110e6c165c186e345901b00.
Diffstat (limited to 'app/controllers/admin/hooks_controller.rb')
-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 690096bdbcf..0a463239d74 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, 'system_hooks')
+ @hook.execute(data)
redirect_to :back
end