Fix Delete/Switch Broken
This commit is contained in:
parent
a28e3030af
commit
bc5a17157d
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class TicketsController extends Controller
|
|||
public function dataTableBlacklist()
|
||||
{
|
||||
$query = TicketBlacklist::with(['user']);
|
||||
|
||||
$query->select('ticket_blacklists.*');
|
||||
return datatables($query)
|
||||
->editColumn('user', function (TicketBlacklist $blacklist) {
|
||||
return '<a href="' . route('admin.users.show', $blacklist->user->id) . '">' . $blacklist->user->name . '</a>';
|
||||
|
|
Loading…
Reference in a new issue