From e28d9dd87d92a7df3832b5a26833065cc8de391b Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Mon, 31 Jul 2017 12:32:40 -0600 Subject: [PATCH] Add ping route to api --- api/v1/routes/core.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/v1/routes/core.rb b/api/v1/routes/core.rb index 9059992ea1..b60c66c165 100644 --- a/api/v1/routes/core.rb +++ b/api/v1/routes/core.rb @@ -50,6 +50,10 @@ def site_root request.host_with_port + '/' end end + + get '/' do + '{"ping": "ok"}' + end end end end