mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -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'])
|
Route::get('accept', [Account\AcceptanceController::class, 'index'])
|
||||||
->name('account.accept');
|
->name('account.accept');
|
||||||
|
|
||||||
Route::post('accept/{id}', [Account\AcceptanceController::class, 'create'])
|
Route::get('accept/{id}', [Account\AcceptanceController::class, 'create'])
|
||||||
->name('account.accept.item');
|
->name('account.accept.item');
|
||||||
|
|
||||||
Route::post('accept/{id}', [Account\AcceptanceController::class, 'store']);
|
Route::post('accept/{id}', [Account\AcceptanceController::class, 'store']);
|
||||||
|
|
Loading…
Reference in a new issue