title: throw new InvalidArgumentException("Route [{$name}] not defined."); routing error in laravell 5.6
body: <p>I want to update my database and trying to redirect it to a defined url in Laravel 5.6</p>
  
  <pre><code> public function update(Request $request, Apply1 $Apply1)
      {
  
      $Apply1 -&gt;Given_Name=$request-&gt;Given_Name;
            $Apply1 -&gt;Surname=$request-&gt;Surname;
            $Apply1 -&gt;Date_Birth=$request-&gt;Date_Birth;
            $Apply1 -&gt;Place_Birth=$request-&gt;Place_Birth;
            $Apply1 -&gt;Mother_Name=$request-&gt;Mother_Name;
            $Apply1 -&gt;Father_Name=$request-&gt;Father_Name;
            $Apply1 -&gt;Passport_Number=$request-&gt;Passport_Number;
            $Apply1 -&gt;Passport_Issue_Date=$request-&gt;Passport_Issue_Date;
            $Apply1 -&gt;Passport_Expiry_Date=$request-&gt;Passport_Expiry_Date;
            $Apply1 -&gt;Type_Supporting_Doc=$request-&gt;Supporting_Doc;
            $Apply1 -&gt;Supporting_Doc_Form=$request-&gt;city;
            $Apply1 -&gt;Supp_Doc_Expiry_Date=$request-&gt;Supp_Expiry_Date;
            $Apply1 -&gt;E_mail_address=$request-&gt;mail_address;
            $Apply1 -&gt;Phone_Number=$request-&gt;Phone_Number; 
            $Apply1 -&gt;Address=$request-&gt;Address;
            $Apply1 -&gt;City=$request-&gt;Permanent_City;
            $Apply1 -&gt;State=$request-&gt;Address;
            $Apply1 -&gt;Postal_Code=$request-&gt;Permanent_City;
            $Apply1 -&gt;save();   
  
           return redirect(Route('Apply1.show1', $Apply1-&gt;id));         
  
    }
  </code></pre>
  
  <p>and my defined route is in web.php file is</p>
  
  <pre><code>Route::get('Apply1/show1/{id}', function ($id) {
     return 'User '.$id;
  });
  </code></pre>
  
  <p>but still getting error in the end that ("Route [{$name}] not defined.");
  i have defined the correct route but i don,t know why i am getting this error again</p>