diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-11 16:19:44 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-11 16:19:44 +0000 |
commit | 97201e0bca203b6b303789374ffd7e4228e062a7 (patch) | |
tree | 1d70b0c499c514ceccd906b6b6e85dcbacbd3f45 /config/routes.rb |
initial after migration
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000..29b007b --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,16 @@ +Rails.application.routes.draw do + resource :session + resources :passwords, param: :token + # 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. + # 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 + + # Render dynamic PWA files from app/views/pwa/* (remember to link manifest in application.html.erb) + # get "manifest" => "rails/pwa#manifest", as: :pwa_manifest + # get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker + + # Defines the root path route ("/") + # root "posts#index" +end |