Files
baclight/config/routes.rb
T

16 lines
417 B
Ruby
Raw Normal View History

2021-09-26 14:51:13 -07:00
# frozen_string_literal: true
2021-09-26 14:41:38 -07:00
Rails.application.routes.draw do
get "welcome/index"
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
# Can be used by load balancers and uptime monitors to verify that the app is live.
get "up" => "rails/health#show", as: :rails_health_check
2021-09-26 14:41:38 -07:00
2021-12-16 14:33:08 -08:00
resources :articles do
resources :comments
end
2021-09-26 15:22:36 -07:00
root "welcome#index"
2021-09-26 14:41:38 -07:00
end