Its been a while
CI / scan_ruby (push) Failing after 2m13s
CI / lint (push) Failing after 20s

This commit is contained in:
Jason Jordan
2026-07-23 10:41:46 -04:00
parent 16fadfd529
commit 9853d58469
83 changed files with 1978 additions and 243 deletions
+45 -7
View File
@@ -1,7 +1,17 @@
Rails.application.routes.draw do
mount Rswag::Ui::Engine => "/api-docs"
mount Rswag::Api::Engine => "/api-docs"
devise_for :users, skip: [ :registrations, :passwords, :confirmations ]
devise_for :users,
path: '',
path_names: {
sign_in: 'signin',
sign_out: 'signout',
registration: 'signup'
},
controllers: {
sessions: 'users/sessions',
registrations: 'users/registrations'
}
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
@@ -10,16 +20,44 @@ Rails.application.routes.draw do
namespace :api do
namespace :v1 do
post "signup", to: "auth#signup"
post "login", to: "auth#login"
post "logout", to: "auth#logout"
post "refresh", to: "auth#refresh"
# post "signup", to: "auth#signup"
# post "login", to: "auth#login"
# post "logout", to: "auth#logout"
# post "refresh", to: "auth#refresh"
get "protected", to: "protected#index"
get "profile", to: "profile#show"
# get "protected", to: "protected#index"
# get "profile", to: "profile#show"
# admin routes
get "admin/dashboard", to: "admin#dashboard"
get 'id_cards/member_card/:id/:layout', to: 'id_cards#member_card'
get 'id_cards/member_benefits/:id', to: 'id_cards#member_benefits'
get 'id_cards/employer_cards/:id', to: 'id_cards#employer_cards'
get 'claims/member_claims/:id', to: 'claims#member_claims'
get 'network_provider/employer_network_provider/:id', to: 'network_provider#employer_network_provider'
resources :members do
member do
get 'initialize_dashboard'
get 'id_card/:layout', to: 'members#id_card'
get 'claims'
end
end
resources :employers do
member do
get 'initialize_dashboard'
get 'id_cards'
get 'members_list'
end
end
resources :brokers do
member do
get 'employers_list'
end
end
end
end
end