"Guys, the issue was in the order of routes in web.php. Look at how it is now."
<?php use App\Http\Controllers\{ ParticipanteController }; use Illuminate\Support\Facades\Route; Route::get('/participantes/create', [ParticipanteController::class, 'create'])->name('participantes.create'); Route::delete('/participantes/{id}', [ParticipanteController::class, 'destroy'])->name('participantes.destroy'); Route::get('/participantes/{id}', [ParticipanteController::class, 'show'])->name('participantes.show'); Route::post('/participantes', [ParticipanteController::class, 'store'])->name('participantes.store'); Route::get('/participantes', [ParticipanteController::class, 'index'])->name('participantes.index'); Route::get('/', function () { return view('welcome'); });"It seems like 'show' was being read first, so 'create' wasn't even being read."
"It seems like 'show' was being read first, so 'create' wasn't even being read."
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community