diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 2be7302..cce2a6f 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -238,7 +238,7 @@ function sendRoute(el, routeID = null){ $.ajax({ headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() }, - url: '/ru/routes/create_or_change_route/', + url: '/ru/routes/change_route/' + add_url, type: "POST", // async: true, cache: false,