Relative url

This commit is contained in:
benji 2015-10-07 16:04:09 +02:00
parent 5b22c54c0f
commit d575de04eb

View file

@ -51,7 +51,7 @@ ready = function() {
event.preventDefault();
barcode = $(this).find("input[type=number]").val();
$.ajax({
url: "/barcodes/" + barcode,
url: "/tap/barcodes/" + barcode,
success: function(data) {
increment_product(data["id"]);
$("#from_barcode_form")[0].reset();