diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-16 09:30:58 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-19 17:24:59 +0100 |
commit | 7d5a182624acd2e48eba2531f7597a93b117c056 (patch) | |
tree | 53e51427e4186204a3e61689b4990a99320c2b2a /config | |
parent | 08b8f489290c3b0456fcaef3064d1c333717cb6f (diff) | |
download | gitlab-ce-7d5a182624acd2e48eba2531f7597a93b117c056.tar.gz |
Use POST method instead of DELETE when erasing a build
Discussion:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2560#note_3742042
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 913934f7bb5..c6541a8979c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -617,7 +617,7 @@ Rails.application.routes.draw do get :status post :cancel post :retry - delete :erase, path: :content + post :erase end resource :artifacts, only: [] do |