By @samuel · 2021-11-01 18:57
By @ralphjsmit ·
Okay! So with this routes file:
Route::get('/user', [PostController::class, 'index'])->name('prefix.user.index');
is giving the same as this:
By @samuel ·
Yeah, should be the same thing. You can test that in tinker to check.