diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-05 19:22:07 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-01-05 19:22:14 +0100 |
commit | 21a713f9c48fb0be90da61321ecb75b3f27039d2 (patch) | |
tree | 31b0b492d98d5523fb1df7e081f1353a6f02be40 /config | |
parent | d66c48b303b00b731540dfa928ea151295ced5d4 (diff) | |
download | gitlab-ce-21a713f9c48fb0be90da61321ecb75b3f27039d2.tar.gz |
Change reset_cache action from get to post
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 2 |
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 |