From c527a5c6e7ab4351d14da5aab9c5926d374d9888 Mon Sep 17 00:00:00 2001 From: Brady Wetherington Date: Thu, 13 Jan 2022 16:03:32 -0800 Subject: [PATCH] Duplicate route meant overwrite of route-name --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 9145e0f25a..315d841655 100644 --- a/routes/web.php +++ b/routes/web.php @@ -275,7 +275,7 @@ Route::group(['prefix' => 'account', 'middleware' => ['auth']], function () { Route::get('accept', [Account\AcceptanceController::class, 'index']) ->name('account.accept'); - Route::post('accept/{id}', [Account\AcceptanceController::class, 'create']) + Route::get('accept/{id}', [Account\AcceptanceController::class, 'create']) ->name('account.accept.item'); Route::post('accept/{id}', [Account\AcceptanceController::class, 'store']);