X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9186b07ad70787977f5b1e589bf20b7a4beed4c0..06029c3c9c71944220bd93bb600b5a127282fce4:/project/templates/manager/pull_request.html diff --git a/project/templates/manager/pull_request.html b/project/templates/manager/pull_request.html index 9c234366..c902da98 100644 --- a/project/templates/manager/pull_request.html +++ b/project/templates/manager/pull_request.html @@ -35,7 +35,7 @@ $.ajax({ - url: "http://localhost:8000/api/pull-requests/" + id, + url: '{% url pullrequest_list %}/'+id, data: {action: 'accept'}, dataType: 'json', type: 'PUT',