From cdc2bc43d4b40d6bb5d3ab9ecbff509634360db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Javier=20L=C3=B3pez?= Date: Fri, 24 Aug 2018 16:52:23 +0000 Subject: [master] Missing CSRF in System Hooks resend action --- config/routes/admin.rb | 2 +- config/routes/project.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config/routes') diff --git a/config/routes/admin.rb b/config/routes/admin.rb index 7ee960970f8..fa1f79a90be 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -59,7 +59,7 @@ namespace :admin do resources :hook_logs, only: [:show] do member do - get :retry + post :retry end end end diff --git a/config/routes/project.rb b/config/routes/project.rb index 0220e88c819..34f49546983 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -307,7 +307,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do resources :hook_logs, only: [:show] do member do - get :retry + post :retry end end end -- cgit v1.2.1