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
|
2025-12-10 13:22:33 -05:00
|
|
|
resources :employer_setup, only: [:new, :create, :edit, :update]
|
2025-12-03 11:42:15 -05:00
|
|
|
get 'id_card_benefits_templates/get_template_benefits/:id', to: 'id_card_benefits_templates#get_template_benefits'
|
2023-09-30 10:32:08 -07:00
|
|
|
|
|
|
|
|
# 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
|
|
|
|
2023-09-30 10:32:08 -07:00
|
|
|
root "welcome#index"
|
2021-09-26 14:41:38 -07:00
|
|
|
end
|