1 // Adding id to route name in laravel in javascript
2 function quick_edit_modal(id){
3 let productDetailApiUrl = '{{ route("seller.product_detail", ":id") }}';
4 productDetailApiUrl = productDetailApiUrl.replace(':id', id);
5 }