public function image(Request $request, PrivateImage $image)
{
if (!<есть доступ>) {
abort(404);
}
$path = "private_images/{$image['id']}.{$image['ext']}";
return response(Storage::get($path))->header('Content-Type', Storage::mimeType($path));
}