title: Laravel findorfail() redirect
body: <p>I have the following code :</p>
  <pre><code>public function showTestProfile($id){
      $auth = Auth::user();
      $tests = App\Test::findorfail($id);
      return view('profile',compact('auth','tests','members'));
  }
  </code></pre>
  <p>if we have an <code>id</code> in the DB table then that will come up with <code>findorfail()</code>,</p>
  <p>but if we add not existing <code>id</code> to the url like this :</p>
  <p><code>http://NewPro.dev/user-profile/24645645456</code></p>
  <p>Then no query can be found and laravel page comes up.</p>
  <p>How can I redirect to some route if we have no <code>id</code>?</p>