Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/hooks_helper.rb')
-rw-r--r--app/helpers/hooks_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/hooks_helper.rb b/app/helpers/hooks_helper.rb
index 921e30edbaa..63544e28a0e 100644
--- a/app/helpers/hooks_helper.rb
+++ b/app/helpers/hooks_helper.rb
@@ -10,7 +10,7 @@ module HooksHelper
def link_to_test_hook(hook, trigger)
path = test_hook_path(hook, trigger)
- trigger_human_name = trigger.to_s.tr('_', ' ').camelize
+ trigger_human_name = integration_webhook_event_human_name(trigger)
link_to path, rel: 'nofollow', method: :post do
content_tag(:span, trigger_human_name)