From 2408519e08084f6d81f2628eba6868910ee7fcfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Javier=20L=C3=B3pez?= Date: Thu, 21 Jun 2018 10:38:59 +0200 Subject: Changing the hook test action to use POST --- config/routes/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/routes/project.rb') diff --git a/config/routes/project.rb b/config/routes/project.rb index 5057e937941..8e019f8c8bb 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -301,7 +301,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do resources :hooks, only: [:index, :create, :edit, :update, :destroy], constraints: { id: /\d+/ } do member do - get :test + post :test end resources :hook_logs, only: [:show] do -- cgit v1.2.1