I have a PDF file stored in app/storage/, and I want authenticated users to be able to view this file. I know that I can make them download it using
return
In Laravel 5.5 you can just pass "inline" as the disposition parameter of the download function:
return response()->download('/path/to/file.pdf', 'example.pdf', [], 'inline');