diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2015-12-17 14:24:43 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:12 +0100 |
commit | 79fe18d9e7290fb880f1feb5f2c9f3f96b2d74fe (patch) | |
tree | 22bf867628500c1eb28427a5a812dd71c9a35493 /config | |
parent | a385d39ff1ef3cca8b98f75b99022f762fa5b5e5 (diff) | |
download | gitlab-ce-79fe18d9e7290fb880f1feb5f2c9f3f96b2d74fe.tar.gz |
Move build artifacts implementation to separate controller
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 10 |
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 |