name('general'); Route::post('general/switch-template', [ProjectController::class, 'switchTemplate'])->name('general.switch-template'); Route::post('general/reset-template', [ProjectController::class, 'resetTemplate'])->name('general.reset-template'); Route::get('board', [ProjectBoardSettingsController::class, 'show'])->name('board'); Route::prefix('board') ->name('board.') ->controller(ProjectBoardSettingsController::class) ->group(function (): void { require __DIR__.'/settings/board.php'; }); Route::get('metadata', [ProjectTicketMetadataSettingsController::class, 'show'])->name('metadata'); Route::patch('metadata', [ProjectTicketMetadataSettingsController::class, 'update'])->name('metadata.update'); Route::prefix('metadata') ->name('metadata.') ->controller(ProjectTicketMetadataSettingsController::class) ->group(function (): void { require __DIR__.'/settings/metadata.php'; }); Route::get('repositories', [ProjectRepositorySettingsController::class, 'show'])->name('repositories'); Route::prefix('repositories') ->name('repositories.') ->controller(ProjectRepositorySettingsController::class) ->group(function (): void { require __DIR__.'/settings/repositories.php'; }); Route::get('notifications', [ProjectNotificationSettingsController::class, 'show'])->name('notifications'); Route::prefix('notifications') ->name('notifications.') ->controller(ProjectNotificationSettingsController::class) ->group(function (): void { require __DIR__.'/settings/notifications.php'; });