diff --git a/config/routes.rb b/config/routes.rb index 9db9b3d..530509f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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.