title: commented out routes are rendering views
body: <p>i have all my routes commented out and its somehow rendering.</p>
  <pre><code>//   dd(&quot;hi&quot;);
  //   return view('posts', [
  //     'posts' =&gt; Post::all(),
  //     'categories' =&gt; Category::all()
  //   ]);
  // });
  
  // Route::get('/posts/{post:slug}', function(Post $post) {
  //   return view('post', [
  //     'post' =&gt; $post,
  //   ]);
  // });
  
  // Route::get('/categories/{category:slug}', function(Category $category) {
  //   return view('posts', [
  //     'posts' =&gt; $category-&gt;posts
  //   ]);
  // });
  
  // Route::get('/authors/{author:username}', function(User $author) {
  //   return view('posts', [
  //     'posts' =&gt; $author-[enter link description here][1]&gt;posts
  //   ]);
  // });
  </code></pre>
  <p>I was having trouble starting up my server <code>php artisan serve</code> so i had to run <code>composer update</code> and now something is messed up. <a href="https://imgur.com/a/8xAmHjs" rel="nofollow noreferrer">video for reference</a></p>