From 1195da6843504793e97b8332b2857a1f7f7c0e38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Tue, 27 Aug 2024 11:14:09 +0200 Subject: [PATCH] Updated routes --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index acdc43c..9db9b3d 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 do + resources :jobs, only: [ :index, :new, :create, :destroy ] do member do patch "cancel" end