diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-09 14:41:43 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:15 +0100 |
commit | 61fb47a43202332fe9ac57847996da929ba42d3f (patch) | |
tree | 95b0838eebafd9ea6c382efbfd78eaa0f3b4d6f7 /config | |
parent | 387b27813d1d496c015f4f174812b4761c32648d (diff) | |
download | gitlab-ce-61fb47a43202332fe9ac57847996da929ba42d3f.tar.gz |
Simplify implementation of build artifacts browser (refactoring)
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 20abf408b73..0ba81a3411a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -611,6 +611,7 @@ Rails.application.routes.draw do resource :artifacts, only: [] do get :download get 'browse(/*path)', action: :browse, as: :browse, format: false + get 'file/*path', action: :file, as: :file, format: false end end |