Merge pull request #10512 from uberbrady/fix_asset_acceptance_routing_bug

Duplicate route meant overwrite of route-name
This commit is contained in:
snipe 2022-01-13 17:08:26 -08:00 committed by GitHub
commit 591e1c6a9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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