summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2016-02-03 11:24:44 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-19 17:24:59 +0100
commit21152d7d51815622fd3cbb93836cb8fa7b753ec8 (patch)
treecdc920f90683104132c924259dd8b060887338f8 /config
parent6ca99bd899322ff4ada84f119907eb0210485482 (diff)
downloadgitlab-ce-21152d7d51815622fd3cbb93836cb8fa7b753ec8.tar.gz
Use DELETE verb for erasing a build content
Also added API specs for that
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 94a9d378be0..118fdf9c28b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -617,7 +617,7 @@ Rails.application.routes.draw do
get :status
post :cancel
post :retry
- put :erase
+ delete :erase
end
resource :artifacts, only: [] do