summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-07-18 15:22:38 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-07-18 15:22:38 +0000
commit2044473dad12e925df4dda22bfef44418f045af4 (patch)
tree242d1d4f98e5509dac707953b0f8fc74054ec763 /config
parente6ff8abc8e0e63dd1f5224e99fd38b2ba9717b6a (diff)
parent10e51ac5f7087bb9cbc495fc15195994fb8763e4 (diff)
downloadgitlab-ce-2044473dad12e925df4dda22bfef44418f045af4.tar.gz
Merge branch 'add-profile-mode-to-extend-request-profiling' into 'master'
Add profile mode to extend request profiling See merge request gitlab-org/gitlab-ce!30126
Diffstat (limited to 'config')
-rw-r--r--config/routes/admin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb
index f609739d9fd..6f9a5552564 100644
--- a/config/routes/admin.rb
+++ b/config/routes/admin.rb
@@ -73,7 +73,7 @@ namespace :admin do
resource :background_jobs, controller: 'background_jobs', only: [:show]
resource :system_info, controller: 'system_info', only: [:show]
- resources :requests_profiles, only: [:index, :show], param: :name, constraints: { name: /.+\.html/ }
+ resources :requests_profiles, only: [:index, :show], param: :name, constraints: { name: /.+\.(html|txt)/ }
resources :projects, only: [:index]