title: Laravel: pass data to one view but redirect to other
body: <p>I have a value that the admin can change on his admin.blade page. I want this value to be displayed on the user's page(user.blade).
  The is field an 'amount' field on the admin site that can be changed (through modal on a form). The submission of the form calls an action which does the following:</p>
  
  <pre><code>public function changeAmt(){
  auth()-&gt;user()-&gt;update([
              'amt' =&gt; $data-&gt;input('newamt')
          ]);
  
          return redirect('/adminpage');
      }
  </code></pre>
  
  <p>I want to be able to redirect to the admin page, but at the same time i want the 'amt' value to be passed to the user side's user.blade page as well.</p>
  
  <blockquote>
    <p>How can I send the  'amt' value to the user's page (user.blade)</p>
  </blockquote>
  
  <p>I'm not sure if I should be using <code>view::share('what goes here')</code> and do something or have a different approach. Would appreciate your help.</p>