Files
Jason Jordan 4fac3b1036
CI / scan_ruby (push) Failing after 10m41s
CI / lint (push) Failing after 7m31s
CI / test (push) Failing after 8m29s
Docker / build-and-test-image (push) Failing after 11m32s
Employers working - onboarding to card print
2026-01-15 11:37:50 -05:00

35 lines
887 B
Ruby

# frozen_string_literal: true
Rails.application.routes.draw do
resources :card_rxes
resources :card_providers
resources :card_logo_files do
get 'image', on: :member, constraints: { id: /.*/ }
end
# resources :employer_setup
resources :employers do
collection do
post 'import'
end
end
resources :sample_id_cards do
collection do
get 'generate_sample'
get 'generate_print'
end
end
get 'id_card_benefits_templates/get_template_benefits/:id', to: 'id_card_benefits_templates#get_template_benefits'
# 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
resources :articles do
resources :comments
end
root "welcome#index"
end