title: NotFoundHttpException in RouteCollection.php (line 179)
body: <p>The problem that I'm having in my web app is that when a user types up a status and presses "add status" instead of it saving the status I get the following error : <code>NotFoundHttpException in RouteCollection.php (line 179)</code>.
  I have done some research online and looked at similar problems and tried changing it around but I still got the same problem back .</p>
  
  <p>This is my Controller Class</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Request;
  
  class HomeController extends Controller
  {
      /**
       * Create a new controller instance.
       *
       * @return void
       */
      public function __construct()
      {
          $this-&gt;middleware('auth');
      }
  
      /**
       * Show the application dashboard.
       *
       * @return \Illuminate\Http\Response
       */
      public function index(Request $r)
      {
          if(Request::has('status-text'))
          {
              $text = e(Request::get('status-text'));
  
              $userStatus = new Status();
              $userStatus-&gt;status_text = $text;
              $userStatus-&gt;user_id = Auth::user()-&gt;id;
              $userStatus-&gt;save();
              Flash::success('Your status has been posted');
              return redirect(route('home'));
  
                  }
  
  
          return view('home');
      }
  }
  </code></pre>
  
  <p>This is my web.php class</p>
  
  <pre><code>&lt;?php
      return view('welcome');
  });
  
  Auth::routes();
  
  Route::any('/home', ['as'=&gt; 'home','uses'=&gt;'HomeController@index']);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/htr5t.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/htr5t.jpg" alt="enter image description here"></a></p>
  
  <p>This is an image of the error that I'm getting back :</p>
  
  <p><a href="https://i.stack.imgur.com/VYAAt.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VYAAt.jpg" alt="enter image description here"></a></p>