mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Merge pull request #10434 from inietov/fixes/v6_components_error
Fix route to checkout components from the details page
This commit is contained in:
commit
52322806fa
|
@ -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)
|
||||
|
|
|
@ -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?}',
|
||||
|
|
Loading…
Reference in a new issue