feat: tambah voting system, VoteSeeder, dan halaman detail voting

This commit is contained in:
2026-04-03 04:55:33 +07:00
parent 95bdd5d033
commit bedcb9e4f0
5 changed files with 230 additions and 1 deletions
@@ -5,6 +5,7 @@ namespace App\Filament\Resources\Votes;
use App\Filament\Resources\Votes\Pages\CreateVote;
use App\Filament\Resources\Votes\Pages\EditVote;
use App\Filament\Resources\Votes\Pages\ListVotes;
use App\Filament\Resources\Votes\Pages\ViewVote;
use App\Filament\Resources\Votes\Schemas\VoteForm;
use App\Filament\Resources\Votes\Tables\VotesTable;
use App\Models\Vote;
@@ -34,6 +35,7 @@ class VoteResource extends Resource
return [
'index' => ListVotes::route('/'),
'create' => CreateVote::route('/create'),
'view' => ViewVote::route('/{record}'),
'edit' => EditVote::route('/{record}/edit'),
];
}