updated routes

This commit is contained in:
2024-08-27 12:36:10 +02:00
parent 7b7ba97032
commit 0953d5c915

View File

@@ -10,7 +10,7 @@ Rails.application.routes.draw do
resource :email_verification, only: [ :show, :create ] resource :email_verification, only: [ :show, :create ]
resource :password_reset, only: [ :new, :edit, :create, :update ] resource :password_reset, only: [ :new, :edit, :create, :update ]
end end
resources :jobs, only: [ :index, :new, :create, :destroy ] do resources :jobs, only: [ :index, :new, :create ] do
member do member do
patch "cancel" patch "cancel"
end end
@@ -28,6 +28,7 @@ Rails.application.routes.draw do
end end
end end
end end
get "home", to: "home#index"
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html # 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. # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.