changes done

This commit is contained in:
Anmol-Chauhan 2022-04-06 09:59:32 +05:30
parent 6e2d454d9f
commit 1db6343dc1
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ class ProductDataGrid extends DataGrid
'sortable' => true,
'filterable' => true,
'closure' => function ($row) {
return "<a href='" . asset($row->url_key) . "' target='_blank'>" . $row->product_name . "</a>";
return "<a href='" . route('shop.productOrCategory.index', $row->url_key) . "' target='_blank'>" . $row->product_name . "</a>";
},
]);