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