diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-18 21:06:34 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-18 21:06:34 +0000 |
commit | e4c711546c693fff89b0b1c92f1b0dde927e0c84 (patch) | |
tree | 2afa79ebbb72960fd54f1392e0a18031a1d9ee54 /config | |
parent | b08279013423a66f06f5edde4e067f328fe135bd (diff) | |
download | gitlab-ce-e4c711546c693fff89b0b1c92f1b0dde927e0c84.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 4a2898915b1..5225cd5b054 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -37,6 +37,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do scope '-' do get 'archive/*id', constraints: { format: Gitlab::PathRegex.archive_formats_regex, id: /.+?/ }, to: 'repositories#archive', as: 'archive' + resources :artifacts, only: [:index, :destroy] + resources :jobs, only: [:index, :show], constraints: { id: /\d+/ } do collection do resources :artifacts, only: [] do |