Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-04 21:09:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-04 21:09:49 +0300
commit2ecc6e22e3517a2e0d9a5bd0d4297c74e2f338d4 (patch)
tree39e5264a6ea6467910471ed5e98eb379d66a6982 /config
parentaca89cb7e933eca98b794cbd5457ffabd54b43f7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb6
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