mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Duplicate route meant overwrite of route-name
This commit is contained in:
parent
4e3fd6bfaf
commit
c527a5c6e7
|
@ -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