Merge pull request #10434 from inietov/fixes/v6_components_error

Fix route to checkout components from the details page
This commit is contained in:
snipe 2021-12-14 10:41:24 -08:00 committed by GitHub
commit 52322806fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,7 @@
{{ trans('button.actions') }}
<span class="caret"></span>
</button>
<ul class="dropdown-menu pull-right" role="menu22">
@if ($component->assigned_to != '')
@can('checkin', $component)

View file

@ -18,7 +18,7 @@ Route::group(['prefix' => 'components', 'middleware' => ['auth']], function () {
Route::get(
'{componentID}/checkin/{backto?}',
[Components\ComponentCheckinController::class, 'create']
)->name('checkout/component');
)->name('checkin/component');
Route::post(
'{componentID}/checkin/{backto?}',