Add minimal authentication flow to get started

This commit is contained in:
Kevin McConnell
2024-06-21 16:07:49 +01:00
parent b9cf8c5e9d
commit c4fb1bdc76
26 changed files with 546 additions and 7 deletions
+3
View File
@@ -61,4 +61,7 @@ Rails.application.configure do
# Raise error when a before_action's only/except options reference missing actions
config.action_controller.raise_on_missing_callback_actions = true
# Load test helpers
config.autoload_paths += %w[ test/test_helpers ]
end
+3 -6
View File
@@ -1,10 +1,7 @@
Rails.application.routes.draw do
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
root "sessions#show"
resource :session
# 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
# Defines the root path route ("/")
# root "posts#index"
end