From 0953d5c9151f3875488b116cffdf6aad662f2ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Tue, 27 Aug 2024 12:36:10 +0200 Subject: [PATCH] updated routes --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.