diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-08-24 16:52:23 +0000 |
---|---|---|
committer | Jose Vargas <jvargas@gitlab.com> | 2018-08-28 16:36:25 -0500 |
commit | cdc2bc43d4b40d6bb5d3ab9ecbff509634360db6 (patch) | |
tree | 6d7696f4085ece6f7788f9fad1c775d220744b7e /config/routes | |
parent | beb8354b345466bbd8da6b1c7e188736659cf742 (diff) | |
download | gitlab-ce-cdc2bc43d4b40d6bb5d3ab9ecbff509634360db6.tar.gz |
[master] Missing CSRF in System Hooks resend action
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/admin.rb | 2 | ||||
-rw-r--r-- | config/routes/project.rb | 2 |
2 files changed, 2 insertions, 2 deletions
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 |