X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e069e118b79156ab03fcc32b3e1c7b766b7ae92c..da2ddd3f782202bed965830379672079547846ff:/project/templates/manager/pull_request.html

diff --git a/project/templates/manager/pull_request.html b/project/templates/manager/pull_request.html
index 20e47fa6..c2964c22 100644
--- a/project/templates/manager/pull_request.html
+++ b/project/templates/manager/pull_request.html
@@ -11,7 +11,7 @@
             var row = $('#request-' +id);
 
             $.ajax({
-                url: "http://localhost:8000/api/pull-requests/" + id,                
+                url: '{% url pullrequest_list %}/'+id,
                 dataType: 'json',
                 type: 'GET',
                 success: function(data) {