'App\\Http\\Controllers'], function(): void { Auth::routes(['register' => false]); }); Route::group(['middleware' => 'auth:web'], function (): void { Route::get('/', HomeController::class)->name('home'); Route::resource('initialize', InitializeController::class); Route::resource('member', MemberController::class); Route::resource('member.payment', PaymentController::class); Route::resource('allpayment', AllpaymentController::class); Route::resource('subscription', SubscriptionController::class); Route::post('/member/{member}/confirm', MemberConfirmController::class); Route::get('/member/{member}/pdf', MemberPdfController::class) ->name('member.singlepdf'); Route::get('/sendpayment', [SendpaymentController::class, 'create'])->name('sendpayment.create'); Route::get('/sendpayment/pdf', [SendpaymentController::class, 'send'])->name('sendpayment.pdf'); Route::apiResource('member.membership', MembershipController::class); Route::resource('setting', SettingController::class); });