title: Laravel flash message showing after refresh
body: <p>I have one problem. I am building one application with Laravel and on the page where I upload the picture I need one flash success message that says you successfully uploaded new picture. When I upload, it works, shows the flash message, but when I refresh, or i go to other page, the message still stays there. And then after another refresh it disappears. On other pages like creating new post, the flash message works properly without showing after the refresh or going to another page. I am using imageintervention.io api for uploading image, I'm mentioning it because I don't want you to get confused with the code.</p>
  
  <pre><code>public function update_avatar(Request $request)
  {
      // Handle the upload of avatar
      if ($request-&gt;hasFile('avatar')) 
      {
          $avatar = $request-&gt;file('avatar');
          $filename = time() . '.' . $avatar-&gt;getClientOriginalExtension();
  
          Image::make($avatar)-&gt;resize(300, 300)-&gt;save( public_path('/uploads/avatars/' . $filename ) );
  
          $user = Auth::user();
          $user-&gt;avatar = $filename;
          $user-&gt;save();
  
          Session::flash('success', 'You have successfully uploaded new picture!');       
  
  
      }
  
      return view('pages.profile', array('user' =&gt; Auth::user()) );
  
  }
  </code></pre>