Archived
1
0
Fork 0
This repository has been archived on 2026-06-16. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
wow-raid-bingo/app/Http/Controllers/Admin/RaidController.php

31 lines
669 B
PHP

<?php
namespace App\Http\Controllers\Admin;
use App\Models\Raid;
use App\Http\Livewire\Form\RaidForm;
class RaidController extends BaseController
{
protected $_datatable = [
'model' => Raid::class,
'default_sort' => 'id',
'route_create' => 'admin.raid.create',
'route_edit' => 'admin.raid.edit',
'delete_enabled' => true,
'restore_enabled' => true,
'columns' => [
'id' => '#',
'name' => 'Name',
],
'sort_columns' => [
'id' => 'id',
'name' => 'name',
]
];
static public function getForm() : string
{
return RaidForm::class;
}
}