title: storing and retrieving stored file in Laravel 5.4
body: <p>A trivial scenario:</p>
  
  <p>1) Symlink public/storage to storage/app/public using</p>
  
  <pre><code>php artisan storage:link
  </code></pre>
  
  <p>2) Upload file using </p>
  
  <pre><code>$path = $request-&gt;file('avatar')-&gt;store('avatars');
  </code></pre>
  
  <p>3) In my understanding, I should be able to access the file under this url - `www.example.com/storage/avatars/avatar.jpg</p>
  
  <p>However, the path I get in the third step is actually public/avatars/avatar.jpg, so I end up replacing the 'public/' part with '' to have a correct path.</p>
  
  <p>It seems that I am missing something, but I just can't find exactly what.</p>
  
  <p>Thank you for your help!</p>