summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-05 19:22:07 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-01-05 19:22:14 +0100
commit21a713f9c48fb0be90da61321ecb75b3f27039d2 (patch)
tree31b0b492d98d5523fb1df7e081f1353a6f02be40 /config
parentd66c48b303b00b731540dfa928ea151295ced5d4 (diff)
downloadgitlab-ce-21a713f9c48fb0be90da61321ecb75b3f27039d2.tar.gz
Change reset_cache action from get to post
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 2fbd7142501..bdf4b199c0a 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -409,7 +409,7 @@ constraints(ProjectUrlConstrainer.new) do
namespace :settings do
get :members, to: redirect("%{namespace_id}/%{project_id}/project_members")
resource :ci_cd, only: [:show], controller: 'ci_cd' do
- get :reset_cache
+ post :reset_cache
end
resource :integrations, only: [:show]
resource :repository, only: [:show], controller: :repository