diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-24 12:09:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-24 12:09:42 +0000 |
commit | 729e3765d5feb762df1ccfbc228a8dd4662aa3f9 (patch) | |
tree | f326420fc64999c6bcc28816ed54f0972fb46459 /config/routes/project.rb | |
parent | 6f7881ee9dcec34141a8f34fc814b56b366d2b48 (diff) | |
download | gitlab-ce-729e3765d5feb762df1ccfbc228a8dd4662aa3f9.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r-- | config/routes/project.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index b86fd48e222..4b2bac97678 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -170,8 +170,10 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do resources :releases, only: [:index, :show, :edit], param: :tag, constraints: { tag: %r{[^/]+} } do member do - get :evidence get :downloads, path: 'downloads/*filepath', format: false + scope module: :releases do + resources :evidences, only: [:show] + end end end |