Fixed unicode commit messages in Revision.merge_with
[redakcja.git] / project / templates / manager / pull_request.html
index 9c23436..c2964c2 100644 (file)
@@ -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) {
@@ -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',