change method url
parent
3a78784025
commit
f5fb93e893
|
@ -158,7 +158,7 @@
|
|||
if(localStorage.getItem("products") != null) objProducts = JSON.parse(localStorage.getItem("products"));
|
||||
$.ajax({
|
||||
headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') },
|
||||
url: "{{url('admin/contents/all')}}/"+objProducts.join(","),
|
||||
url: "{{url('/contents/all')}}/"+objProducts.join(","),
|
||||
type: "get",
|
||||
cache : false,
|
||||
processData: false,
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
if(localStorage.getItem("products") != null) objProducts = JSON.parse(localStorage.getItem("products"));
|
||||
$.ajax({
|
||||
headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') },
|
||||
url: "{{url('admin/contents/all')}}/"+objProducts.join(","),
|
||||
url: "{{url('/contents/all')}}/"+objProducts.join(","),
|
||||
type: "get",
|
||||
cache : false,
|
||||
processData: false,
|
||||
|
|
Loading…
Reference in New Issue