From 551d0c04b3ec7e0a0bd21d5f084ff79ddd473f4a Mon Sep 17 00:00:00 2001 From: jggj21 Date: Thu, 29 Aug 2024 14:06:41 -0600 Subject: [PATCH] change update task --- resources/views/tasks.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/tasks.blade.php b/resources/views/tasks.blade.php index 52e09307f..081eabd89 100644 --- a/resources/views/tasks.blade.php +++ b/resources/views/tasks.blade.php @@ -227,7 +227,7 @@ var updateUrl = '/task/' + taskId; console.log(taskId); $.ajax({ - url: '{{ route('task.update', ['id' => $taskId]) }}', + url: updateUrl, type: 'PUT', data: formData, processData: false,