summaryrefslogtreecommitdiff
path: root/config/routes/admin.rb
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-06-21 10:38:59 +0200
committerFrancisco Javier López <fjlopez@gitlab.com>2018-07-23 12:05:48 -0400
commit2408519e08084f6d81f2628eba6868910ee7fcfa (patch)
treed6e20c0e554abd7857319474158382e8442cd4b8 /config/routes/admin.rb
parent65f27de7a2415bc50bebdb5f0cc8613fe87f8daf (diff)
downloadgitlab-ce-2408519e08084f6d81f2628eba6868910ee7fcfa.tar.gz
Changing the hook test action to use POST
Diffstat (limited to 'config/routes/admin.rb')
-rw-r--r--config/routes/admin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb
index ff27ceb50dc..109f00631fb 100644
--- a/config/routes/admin.rb
+++ b/config/routes/admin.rb
@@ -54,7 +54,7 @@ namespace :admin do
resources :hooks, only: [:index, :create, :edit, :update, :destroy] do
member do
- get :test
+ post :test
end
resources :hook_logs, only: [:show] do