mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -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'])
|
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