1$attachment = TicketAttachment::find($id);
2$headers = [
3 'Content-Type' => 'application/jpeg',
4 'Content-Disposition' => 'attachment; filename="'. $attachment->name .'"',
5];
6return \Response::make(Storage::disk('s3')->get($attachment->url), 200, $headers);