diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-06 03:09:07 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-06 03:09:07 +0000 |
commit | fbf952e17452b9d103522c59698d4806b10463d7 (patch) | |
tree | 99bc2c9ae3a1e1b4b1e344aed6e2e7bf7d86fc1e /config | |
parent | 03ae05df3403863bf18207d785508c0599b72e06 (diff) | |
download | gitlab-ce-fbf952e17452b9d103522c59698d4806b10463d7.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index d2fe2be48e5..cfeaa266092 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -25,6 +25,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do # Use this scope for all new project routes. scope '-' do get 'archive/*id', constraints: { format: Gitlab::PathRegex.archive_formats_regex, id: /.+?/ }, to: 'repositories#archive', as: 'archive' + get 'metrics(/:dashboard_path)', constraints: { dashboard_path: /.+\.yml/ }, + to: 'metrics_dashboard#show', as: :metrics_dashboard, format: false resources :artifacts, only: [:index, :destroy] |