Skip to content

Commit

Permalink
Add ping route to api
Browse files Browse the repository at this point in the history
  • Loading branch information
Katrina Owen committed Jul 31, 2017
1 parent 6baa5e4 commit e28d9dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/v1/routes/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ def site_root
request.host_with_port + '/'
end
end

get '/' do
'{"ping": "ok"}'
end
end
end
end

0 comments on commit e28d9dd

Please sign in to comment.