diff --git a/routes/web/components.php b/routes/web/components.php index 08c8533f5f..2cff63e655 100644 --- a/routes/web/components.php +++ b/routes/web/components.php @@ -8,22 +8,22 @@ Route::group(['prefix' => 'components', 'middleware' => ['auth']], function () { Route::get( '{componentID}/checkout', [Components\ComponentCheckoutController::class, 'create'] - )->name('checkout/accessory'); + )->name('checkout/component'); Route::post( '{componentID}/checkout', [Components\ComponentCheckoutController::class, 'store'] - )->name('checkout/accessory'); + )->name('checkout/component'); Route::get( '{componentID}/checkin/{backto?}', [Components\ComponentCheckinController::class, 'create'] - )->name('checkout/accessory'); + )->name('checkout/component'); Route::post( '{componentID}/checkin/{backto?}', [Components\ComponentCheckinController::class, 'store'] - )->name('checkout/accessory'); + )->name('checkout/component'); }); diff --git a/routes/web/consumables.php b/routes/web/consumables.php index b4359be2ed..17e59df8aa 100644 --- a/routes/web/consumables.php +++ b/routes/web/consumables.php @@ -9,12 +9,12 @@ Route::group(['prefix' => 'consumables', 'middleware' => ['auth']], function () Route::get( '{consumablesID}/checkout', [Consumables\ConsumableCheckoutController::class, 'create'] - )->name('checkout/accessory'); + )->name('checkout/consumable'); Route::post( '{consumablesID}/checkout', [Consumables\ConsumableCheckoutController::class, 'store'] - )->name('checkout/accessory'); + )->name('checkout/consumable'); });