Merge pull request #10849 from snipe/fixes/10769_return_to_due_for_audit

Fixes #10769 - return to Due for Audit screen after auditing
This commit is contained in:
snipe 2022-03-21 14:28:13 +00:00 committed by GitHub
commit 820f0a7f04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -861,7 +861,7 @@ class AssetsController extends Controller
$asset->logAudit($request->input('note'), $request->input('location_id'), $file_name);
return redirect()->to('hardware')->with('success', trans('admin/hardware/message.audit.success'));
return redirect()->route('assets.audit.due')->with('success', trans('admin/hardware/message.audit.success'));
}
}