diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2015-12-18 08:41:16 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:12 +0100 |
commit | f091272f1982dfe977c9f366e4127fbbe0314f4a (patch) | |
tree | 9e2ff5dad12d9e93c6f5028452b662f6824ba734 /config | |
parent | a96d45c694bd8fe7d07283d0b46725ca8e4c281b (diff) | |
download | gitlab-ce-f091272f1982dfe977c9f366e4127fbbe0314f4a.tar.gz |
Move artifacts controller level up
This reverts nesting artifacts controller in builds module.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/config/routes.rb b/config/routes.rb index bf9ee416aca..d5b5cb2d5e3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -608,13 +608,9 @@ Rails.application.routes.draw do post :retry end - scope module: :builds do - resource :artifacts, only: [] do - collection do - get :download - get 'view(/:path)', as: :view, to: 'artifacts#view' - end - end + resource :artifacts, only: [] do + get :download + get 'browse(/*path)', action: :browse, as: :browse end end |