Fixed #4671 - corrected component checkin gate

This commit is contained in:
snipe 2018-01-20 03:58:59 -08:00
parent 86c0194e9a
commit 34f6d5ab45

View file

@ -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'));
}