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,