Add function insert name and translation into DB

This commit is contained in:
paoloGuagnano
2024-02-06 18:52:27 +01:00
parent 2d6b1bf96a
commit f0746b67f5
8 changed files with 86 additions and 5 deletions

View File

@@ -53,6 +53,7 @@ Route::middleware('auth')->group(function () {
Route::prefix('words')->group(function () {
Route::get('/', [WordsController::class, 'index'])->name('words.index');
Route::post('/', [WordsController::class, 'store'])->name('words.insert');
});