Prod build process
This commit is contained in:
+15
-1
@@ -1,6 +1,17 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Rails.application.routes.draw do
|
||||
devise_for :users
|
||||
devise_scope :user do
|
||||
authenticated :user do
|
||||
root to: 'dashboard#index', as: :authenticated_root
|
||||
end
|
||||
|
||||
unauthenticated do
|
||||
root to: 'devise/sessions#new', as: :unauthenticated_root
|
||||
end
|
||||
end
|
||||
|
||||
namespace :id_card do
|
||||
resources :rx_sections
|
||||
resources :provider_sections do
|
||||
@@ -40,6 +51,7 @@ Rails.application.routes.draw do
|
||||
post 'import'
|
||||
get 'refresh_employer_information'
|
||||
get 'refresh_employer_members_information'
|
||||
get 'beta_automation_simulation'
|
||||
end
|
||||
namespace :id_card do
|
||||
resources :setup, only: [:index, :update, :destroy] do
|
||||
@@ -59,5 +71,7 @@ Rails.application.routes.draw do
|
||||
# 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
|
||||
|
||||
root "welcome#index"
|
||||
get "dashboard" => 'dashboard#index'
|
||||
|
||||
root to: 'dashboard#index'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user