summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-05-19 18:27:36 +0200
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 19:45:58 +0200
commitc10d55a6dafc6dafe0d3b2d9fad1dc66aee07ff6 (patch)
treef6506a266dd361d7f4d24b0239238e6ad556f9cf /config/routes.rb
parent6726922890fa0becd6e0bcd91ca5d2fa79fcccef (diff)
downloadgitlab-ce-c10d55a6dafc6dafe0d3b2d9fad1dc66aee07ff6.tar.gz
Use only ENV for metrics folder location
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 846054e6917..4051c33d5d4 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -38,10 +38,10 @@ Rails.application.routes.draw do
# Health check
get 'health_check(/:checks)' => 'health_check#index', as: :health_check
- scope path: '-', controller: 'health' do
- get :liveness
- get :readiness
- get :metrics
+ scope path: '-' do
+ get 'liveness' => 'health#liveness'
+ get 'readiness' => 'health#readiness'
+ get 'metrics' => 'metrics#metrics'
end
# Koding route