Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Rails.application.routes.draw do

# Rails' built-in health check endpoint. Returns 200 when the app boots with
# no exceptions, 500 otherwise. Responds with an HTML page (browsers/bots) or
# a JSON body (Accept: application/json), so uptime monitors, load balancers,
# and JSON clients are all covered by the same endpoint.
get "up" => "rails/health#show", as: :rails_health_check

get 'home/index'
get 'home/privacy'
root :to => "home#index"
Expand Down
Loading