From ab763f392595f0d1cab99d6463adcd8c6540a6f4 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Fri, 10 Jan 2025 16:21:36 +0000 Subject: [PATCH] Drop GET method for `field-meta` endpoint --- routes/cp.php | 1 - 1 file changed, 1 deletion(-) diff --git a/routes/cp.php b/routes/cp.php index 34dac73184..5109b26d52 100644 --- a/routes/cp.php +++ b/routes/cp.php @@ -253,7 +253,6 @@ Route::get('/', [FieldsController::class, 'index'])->name('fields.index'); Route::post('edit', [FieldsController::class, 'edit'])->name('fields.edit'); Route::post('update', [FieldsController::class, 'update'])->name('fields.update'); - Route::get('field-meta', [MetaController::class, 'show']); Route::post('field-meta', [MetaController::class, 'show']); Route::delete('fieldsets/{fieldset}/reset', [FieldsetController::class, 'reset'])->name('fieldsets.reset'); Route::resource('fieldsets', FieldsetController::class)->except(['show']);