mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Merge pull request #10512 from uberbrady/fix_asset_acceptance_routing_bug
Duplicate route meant overwrite of route-name
This commit is contained in:
commit
591e1c6a9d
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue