mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fixed #4671 - corrected component checkin gate
This commit is contained in:
parent
86c0194e9a
commit
34f6d5ab45
|
@ -335,7 +335,7 @@ class ComponentsController extends Controller
|
|||
return redirect()->route('components.index')->with('error',
|
||||
trans('admin/components/message.not_found'));
|
||||
}
|
||||
$this->authorize('checkin', $component_assets);
|
||||
$this->authorize('checkin', $component);
|
||||
return view('components/checkin', compact('component_assets','component','asset'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue