summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-07 15:57:13 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-07 16:12:59 +0100
commitb70d828f836f58aa9bc1af34fb6019857524619f (patch)
tree579ccac6b9d0f12ab5446500fdd5e85b7f42873d /config/routes.rb
parent99918be7312b11dd650924e39b2bf8b65a4004d8 (diff)
parent37e7fe2cc90de24c563fe70e4eff6f5d954bb630 (diff)
downloadgitlab-ce-b70d828f836f58aa9bc1af34fb6019857524619f.tar.gz
Merge branch 'master' into new-resolvable-discussion
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 1a851da6203..1da226a3b57 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -39,6 +39,12 @@ 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
+ end
+
# Koding route
get 'koding' => 'koding#index'