| 1 | Rails.application.routes.draw do |
| 2 | # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html |
| 3 | |
| 4 | # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500. |
| 5 | # Can be used by load balancers and uptime monitors to verify that the app is live. |
| 6 | get "up" => "rails/health#show", as: :rails_health_check |
| 7 | |
| 8 | # Defines the root path route ("/") |
| 9 | # root "posts#index" |
| 10 | end |