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 :password_reset, only: [ :new, :edit, :create, :update ]
end
resources :jobs, only: [ :index, :new, :create, :destroy ] do
resources :jobs, only: [ :index, :new, :create ] do
member do
patch "cancel"
end
@@ -28,6 +28,7 @@ Rails.application.routes.draw do
end
end
end
get "home", to: "home#index"
# 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.