group(function () { Route::prefix('patient')->group(function () { Route::livewire('dashboard', \App\Livewire\Patient\Dashboard::class) ->name('patient.dashboard'); Route::get('/my-profile', \App\Livewire\Patient\PatientProfile::class)->name('patient.profile'); Route::get('/complete-profile', \App\Livewire\Patient\CompleteProfile::class)->name('patient.complete-profile'); Route::get('{patient}/print', [App\Http\Controllers\Admin\PatientController::class, 'print']) ->name('patient.patients.print'); Route::get('/news', App\Livewire\Patient\News::class) ->name('patient.news'); Route::get('/news/{news:slug}', App\Livewire\Patient\NewsDetail::class)->name('patient.news.show'); Route::get('/appointment', App\Livewire\Patient\BookingAntrean::class)->name('patient.appointment'); }); });