From e79a81972459bb89f3b53b372fc0c2a84521648d Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 1 Aug 2022 17:45:39 -0700 Subject: [PATCH] Fixed inconsistency in naming Signed-off-by: snipe --- resources/views/components/view.blade.php | 4 ++-- routes/web/components.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/views/components/view.blade.php b/resources/views/components/view.blade.php index 2ffb6bdcea..46ae20af03 100644 --- a/resources/views/components/view.blade.php +++ b/resources/views/components/view.blade.php @@ -21,7 +21,7 @@ @if ($component->assigned_to != '') @can('checkin', $component)
  • - + {{ trans('admin/components/general.checkin') }}
  • @@ -29,7 +29,7 @@ @else @can('checkout', $component)
  • - + {{ trans('admin/components/general.checkout') }}
  • diff --git a/routes/web/components.php b/routes/web/components.php index 6735c1abd2..81302df159 100644 --- a/routes/web/components.php +++ b/routes/web/components.php @@ -8,17 +8,17 @@ Route::group(['prefix' => 'components', 'middleware' => ['auth']], function () { Route::get( '{componentID}/checkout', [Components\ComponentCheckoutController::class, 'create'] - )->name('component.checkout.show'); + )->name('components.checkout.show'); Route::post( '{componentID}/checkout', [Components\ComponentCheckoutController::class, 'store'] - )->name('component.checkout.store'); + )->name('components.checkout.store'); Route::get( '{componentID}/checkin/{backto?}', [Components\ComponentCheckinController::class, 'create'] - )->name('component.checkin.show'); + )->name('components.checkin.show'); Route::post( '{componentID}/checkin/{backto?}',