diff options
Diffstat (limited to 'config/routes.rb')
-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 |