diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-06-28 11:54:02 +0200 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-06-28 14:25:15 +0200 |
commit | dd467d6c758b485938553f312ee276fd54e63384 (patch) | |
tree | 34effd399f67a8507343586b175286d7d545067e /config | |
parent | 50a11a339e65b23bd33e5ad937dbc39674093869 (diff) | |
download | gitlab-ce-dd467d6c758b485938553f312ee276fd54e63384.tar.gz |
Prevents project first environment from being fetched in every project view
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 702141749e8..18685d3acfd 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -235,6 +235,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do end collection do + get :metrics, action: :metrics_redirect get :empty get :folder, path: 'folders/*id', constraints: { format: /(html|json)/ } end |