Use upload file request
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
c4d0afb8d4
commit
908bb35792
1 changed files with 1 additions and 1 deletions
|
@ -890,7 +890,7 @@ class AssetsController extends Controller
|
||||||
return view('hardware/audit')->with('asset', $asset)->with('item', $asset)->with('next_audit_date', $dt)->with('locations_list');
|
return view('hardware/audit')->with('asset', $asset)->with('item', $asset)->with('next_audit_date', $dt)->with('locations_list');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function auditStore(UpdateAssetRequest $request, Asset $asset)
|
public function auditStore(UploadFileRequest $request, Asset $asset)
|
||||||
{
|
{
|
||||||
|
|
||||||
$this->authorize('audit', Asset::class);
|
$this->authorize('audit', Asset::class);
|
||||||
|
|
Loading…
Add table
Reference in a new issue