update: change route for delete generated history

This commit is contained in:
abiyasa05 2025-05-31 12:34:30 +07:00
parent 2135c8eccb
commit c882aa9160

View File

@ -119,7 +119,7 @@
Route::post('/generate_questions/ai', [LiteracyGenerateQuestionsController::class, 'generate_from_ai'])
->name('literacy_teacher_generate_from_ai');
Route::get('/generate_questions/history', [LiteracyGenerateQuestionsController::class, 'history_generated_texts'])
Route::get('/generate_questions/history', [LiteracyGenerateQuestionsController::class, 'history_index'])
->name('literacy_teacher_generate_questions_history');
Route::delete('/generate_questions/history/{id}', [LiteracyGenerateQuestionsController::class, 'destroy_history'])