Duplicate route meant overwrite of route-name

This commit is contained in:
Brady Wetherington 2022-01-13 16:03:32 -08:00
parent 4e3fd6bfaf
commit c527a5c6e7

View file

@ -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']);