prefix('investimentos')->group(function () { Route::get('/', [Path::class, 'index']); Route::get('/a-partir-de/{legacySlug}', [LegacyContentController::class, 'start'])->whereIn('legacySlug', array_keys(config('legacy_content.articles', []))); Route::post('/{id}/conteudos', [LegacyContentController::class, 'attach'])->whereUuid('id'); Route::post('/', [Path::class, 'create']); Route::get('/{id}', [Path::class, 'show'])->whereUuid('id'); Route::post('/{id}/aplicabilidade', [Path::class, 'facts'])->whereUuid('id'); Route::post('/{id}/etapas/{code}', [Path::class, 'stage'])->whereUuid('id')->where('code', 'S(0[1-9]|1[0-9])'); Route::post('/{id}/resultados', [Path::class, 'tool'])->whereUuid('id'); Route::post('/{id}/tarefas', [Path::class, 'task'])->whereUuid('id'); });