diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-06-21 11:38:59 +0300 |
---|---|---|
committer | Francisco Javier López <fjlopez@gitlab.com> | 2018-07-23 19:05:48 +0300 |
commit | 2408519e08084f6d81f2628eba6868910ee7fcfa (patch) | |
tree | d6e20c0e554abd7857319474158382e8442cd4b8 /app/helpers | |
parent | 65f27de7a2415bc50bebdb5f0cc8613fe87f8daf (diff) |
Changing the hook test action to use POST
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/hooks_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/hooks_helper.rb b/app/helpers/hooks_helper.rb index 551b9cca6b1..0a356ba55d2 100644 --- a/app/helpers/hooks_helper.rb +++ b/app/helpers/hooks_helper.rb @@ -10,7 +10,7 @@ module HooksHelper trigger_human_name = trigger.to_s.tr('_', ' ').camelize - link_to path, rel: 'nofollow' do + link_to path, rel: 'nofollow', method: :post do content_tag(:span, trigger_human_name) end end |