changes done
This commit is contained in:
parent
6e2d454d9f
commit
1db6343dc1
|
|
@ -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>";
|
||||
},
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue