Add new models and page for motions
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
<?php
|
||||
|
||||
use App\Livewire\HomePage;
|
||||
use App\Livewire\Motion\Search as MotionSearch;
|
||||
use App\Livewire\Motion\Show as MotionShow;
|
||||
use App\Livewire\Person\Search as PersonSearch;
|
||||
use App\Livewire\Person\Show as PersonShow;
|
||||
use App\Livewire\Settings\Appearance;
|
||||
use App\Livewire\Settings\Password;
|
||||
use App\Livewire\Settings\Profile;
|
||||
@@ -7,15 +12,14 @@ use App\Livewire\Settings\TwoFactor;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Laravel\Fortify\Features;
|
||||
|
||||
use App\Livewire\HomePage;
|
||||
use App\Livewire\Person\Search as PersonSearch;
|
||||
use App\Livewire\Person\Show as PersonShow;
|
||||
|
||||
Route::get('/', HomePage::class)->name('home');
|
||||
|
||||
Route::get('/ledamot', PersonSearch::class)->name('person.search');
|
||||
Route::get('/ledamot/{personId}', PersonShow::class)->name('person.show');
|
||||
|
||||
Route::get('/motion', MotionSearch::class)->name('motion.search');
|
||||
Route::get('/motion/{motionId}', MotionShow::class)->name('motion.show');
|
||||
|
||||
Route::view('dashboard', 'dashboard')
|
||||
->middleware(['auth', 'verified'])
|
||||
->name('dashboard');
|
||||
|
||||
Reference in New Issue
Block a user