prefix('administration/authors')->name('administration.authors.')->group(function (): void { Route::get('/', [AuthorController::class, 'index'])->name('index'); Route::get('/create', [AuthorController::class, 'create'])->name('create'); Route::post('/', [AuthorController::class, 'store'])->name('store'); Route::get('/{author}/edit', [AuthorController::class, 'edit'])->name('edit'); Route::match(['put', 'patch'], '/{author}', [AuthorController::class, 'update'])->name('update'); Route::delete('/{author}', [AuthorController::class, 'destroy'])->name('destroy'); });