diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-30 09:09:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-30 09:09:55 +0300 |
commit | 0629b103246d6c8b24e753f62ccfc8649df2c315 (patch) | |
tree | 7a68ccda8a1fbd1728bdbf97f636801843a7bdf1 /config | |
parent | 2dfc1088178535959894aff4e80edb8936b9dedf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 5dda803cdfe..89e761101b6 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -25,7 +25,7 @@ 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/ }, + get 'metrics(/:dashboard_path)(/:page)', constraints: { dashboard_path: /.+\.yml/, page: 'panel/new' }, to: 'metrics_dashboard#show', as: :metrics_dashboard, format: false resources :artifacts, only: [:index, :destroy] |