diff --git a/resources/views/mylinkspao.blade.php b/resources/views/mylinkspao.blade.php index 37a17420..b75e2e27 100644 --- a/resources/views/mylinkspao.blade.php +++ b/resources/views/mylinkspao.blade.php @@ -26,7 +26,7 @@ let id = formData.get('id'); let action = formData.get('action'); - fetch('{{ url('handle-article-action-pao') }}/id=' + id + '&action=' + action) + fetch('{{ url('handle-article-action-pao') }}/' + id + '/' + action) .then(response => response.text()) .then(data => { document.getElementById('result').innerHTML = data;