title: How To Display Laravel Breeze Status Message
body: <p>I'm using Laravel Breeze for authentication, and I'm facing a problem:</p>
  <p>When user request a password reset link, I like to show him/her a success message, if we send email successfully. PasswordResetLinkController returns this:</p>
  <pre><code>return $status == Password::RESET_LINK_SENT
      ? back()-&gt;with('status', __($status))
      : back()-&gt;withInput($request-&gt;only('email'))
              -&gt;withErrors(['email' =&gt; __($status)]);
  </code></pre>
  <p>When it goes back, it goes, for example, to home route. HomeController returns home.blade.php. When I try to display $status, which should be passed by PasswordResetLinkController, I got undefiened variable error. How can I get that message?</p>
  <p><strong>EDIT</strong></p>
  <p>PasswordResetLinkController.php</p>
  <pre><code>// This is the original store function came with Breeze.
  // I did touch neither code nor the comments.
  public function store(Request $request)
  {
      $request-&gt;validate([
         'email' =&gt; 'required|email',
      ]);
  
      // We will send the password reset link to this user. Once we have attempted
      // to send the link, we will examine the response then see the message we
      // need to show to the user. Finally, we'll send out a proper response.
      $status = Password::sendResetLink(
          $request-&gt;only('email')
      );
      return $status == Password::RESET_LINK_SENT
         ? back()-&gt;with('status', __($status))
         : back()-&gt;withInput($request-&gt;only('email'))
                 -&gt;withErrors(['email' =&gt; __($status)]);
  }
  </code></pre>
  <p>HomeController.php</p>
  <pre><code>public function index()
  {
     $baseData = $this-&gt;baseData();
  
     $asset = $this-&gt;pickAssetRandom();
  
     $publishings = $this-&gt;paginate($this-&gt;getPublishings, 12);
  
     return view('pages.home', compact('publishings', 'baseData', 'asset'));
  }
  </code></pre>