mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 15:01:02 -08:00
Pass users path to get_src
This commit is contained in:
parent
9dda0d02ea
commit
14b0a6315f
|
@ -1079,7 +1079,7 @@ class UsersController extends Controller
|
||||||
return redirect()->route('users')->with('error', trans('general.insufficient_permissions'));
|
return redirect()->route('users')->with('error', trans('general.insufficient_permissions'));
|
||||||
} else {
|
} else {
|
||||||
$log = Actionlog::find($fileId);
|
$log = Actionlog::find($fileId);
|
||||||
$file = $log->get_src();
|
$file = $log->get_src('users');
|
||||||
return Response::download($file);
|
return Response::download($file);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue