Relative url
This commit is contained in:
parent
5b22c54c0f
commit
d575de04eb
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue