diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-04 21:09:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-04 21:09:49 +0300 |
commit | 2ecc6e22e3517a2e0d9a5bd0d4297c74e2f338d4 (patch) | |
tree | 39e5264a6ea6467910471ed5e98eb379d66a6982 /config | |
parent | aca89cb7e933eca98b794cbd5457ffabd54b43f7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index fd842770546..d02dc974434 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -28,6 +28,12 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do get 'metrics(/:dashboard_path)(/:page)', constraints: { dashboard_path: /.+\.yml/, page: 'panel/new' }, to: 'metrics_dashboard#show', as: :metrics_dashboard, format: false + namespace :metrics, module: :metrics do + namespace :dashboards do + post :builder, to: 'builder#panel_preview' + end + end + resources :artifacts, only: [:index, :destroy] resources :packages, only: [:index, :show, :destroy], module: :packages |