diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 21f3585bacd..ccc50f5cd08 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -747,6 +747,14 @@ Rails.application.routes.draw do resources :builds, only: [:index, :show], constraints: { id: /\d+/ } do collection do post :cancel_all + + resources :artifacts, only: [] do + collection do + get :search, path: ':ref_name/*path', + format: false, + constraints: { ref_name: /.+/ } # could have / + end + end end member do |