2024-04-13 10:22:40 +00:00
|
|
|
Rails.application.routes.draw do
|
2024-05-26 08:06:27 +00:00
|
|
|
get "todos/index"
|
|
|
|
default_url_options host: "summonplayer.com"
|
2024-04-13 10:22:40 +00:00
|
|
|
|
2024-04-21 14:01:10 +00:00
|
|
|
root "todos#index"
|
|
|
|
|
|
|
|
get "login" => "sessions#new", as: :login
|
|
|
|
delete "logout" => "sessions#destroy", as: :logout
|
|
|
|
|
2024-04-14 19:01:32 +00:00
|
|
|
resources :users, only: %i[new create]
|
|
|
|
resources :account_verifications, only: %i[show]
|
2024-04-21 14:01:10 +00:00
|
|
|
resources :sessions, only: %i[new create destroy]
|
2024-04-13 10:22:40 +00:00
|
|
|
|
2024-04-14 19:01:32 +00:00
|
|
|
get "up" => "rails/health#show", as: :rails_health_check
|
2024-04-13 10:22:40 +00:00
|
|
|
end
|