diff options
author | Phil Hughes <me@iamphill.com> | 2016-09-05 09:38:37 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-09-05 09:38:37 +0100 |
commit | c735c53aae8681d95584d921f12020774e4fd23c (patch) | |
tree | b84be165a8ed1f95452253747d2f8d5a0ff6bbf3 /config/routes.rb | |
parent | 85f6244ce852fb6b788ea660c7d0cbe14ec10a20 (diff) | |
parent | fe3d94e8e2e3f5d54575a7f16440cc1711617d2b (diff) | |
download | gitlab-ce-c735c53aae8681d95584d921f12020774e4fd23c.tar.gz |
Merge branch 'master' into build-cancel-spinnerbuild-cancel-spinner
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 24f9b44a53a..262a174437a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -782,6 +782,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 :latest_succeeded, + path: '*ref_name_and_path', + format: false + end + end end member do |