Fix Livewire routes and upgrade SFC component to Laravel 4

This commit is contained in:
HolgerHatGarKeineNode
2026-01-18 00:09:26 +01:00
parent a73587b9e8
commit f73ba2ea15
2 changed files with 10 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ Route::post('logout', function () {
})->name('logout');
// Association Routes
Route::livewire('/association/profile', Profile::name('association.profile'));
Route::livewire('/association/profile', Profile::class)->name('association.profile');
Route::livewire('/association/election', ElectionIndex::class)->name('association.elections');
Route::livewire('/association/election/{election:year}', ElectionShow::class)->name('association.election');