Support the ongoing development of Laravel.io →
Blade Laravel Views
0

"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'); });
0

"It seems like 'show' was being read first, so 'create' wasn't even being read."

0

"It seems like 'show' was being read first, so 'create' wasn't even being read."

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.