diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-13 22:31:27 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:17 +0100 |
commit | ad2b0358e0facd5c65c4141ce54c2e55bab165e6 (patch) | |
tree | 30d9a8d84342145845fef72f747621ed79423332 /config | |
parent | 6b0a43aff36f0bbb9050b3c04155a3ccd9c1a75b (diff) | |
download | gitlab-ce-ad2b0358e0facd5c65c4141ce54c2e55bab165e6.tar.gz |
Improve readability of artifacts `Metadata` related code
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 0ba81a3411a..d7fb7407794 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -603,15 +603,14 @@ Rails.application.routes.draw do member do get :status - get :download post :cancel post :retry end resource :artifacts, only: [] do get :download - get 'browse(/*path)', action: :browse, as: :browse, format: false - get 'file/*path', action: :file, as: :file, format: false + get :browse, path: 'browse(/*path)', action: :browse, format: false + get :file, path: 'file/*path', action: :file, format: false end end |