title: How to access pdf file from storage directly from browser?
body: <p>I want to access a pdf file from the browser, the file is located in laravel storage folder. I don't want the storage to be public.</p>
  
  <p>I don't want to download it(that I managed to do it). I simply want to have a get route, and to show that file in the browser like: www.test.com/admin/showPDF/123/123_321.pdf.</p>
  
  <p>123 is an id.</p>
  
  <p>If I use:</p>
  
  <pre><code>storage_path('app/'.$type.'/'.$fileName);
  or
  Storage::url('app/'.$type.'/'.$fileName);
  </code></pre>
  
  <p>return the full server path.</p>
  
  <p>thanks.</p>