summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-08-24 16:52:23 +0000
committerJosé Iván Vargas López <jvargas@gitlab.com>2018-08-24 16:52:23 +0000
commit539d274563bdf5145529813312dbf4fbf682d349 (patch)
treef9b8e35a76cfdcdc8b9f5203c03be6fd60d1e9ed /config
parent5846c02dea6f57c1e4fb2a05ba1251177a6856f2 (diff)
downloadgitlab-ce-539d274563bdf5145529813312dbf4fbf682d349.tar.gz
[master] Missing CSRF in System Hooks resend action
Diffstat (limited to 'config')
-rw-r--r--config/routes/admin.rb2
-rw-r--r--config/routes/project.rb2
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