Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2015-12-17 16:24:43 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 14:48:12 +0300
commit79fe18d9e7290fb880f1feb5f2c9f3f96b2d74fe (patch)
tree22bf867628500c1eb28427a5a812dd71c9a35493 /config
parenta385d39ff1ef3cca8b98f75b99022f762fa5b5e5 (diff)
Move build artifacts implementation to separate controller
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 05d6ff1e884..f639f89189d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -603,10 +603,18 @@ Rails.application.routes.draw do
member do
get :status
- post :cancel
get :download
+ post :cancel
post :retry
end
+
+ scope module: :builds do
+ resources :artifacts do
+ collection do
+ get :download
+ end
+ end
+ end
end
resources :hooks, only: [:index, :create, :destroy], constraints: { id: /\d+/ } do