title: Laravel 5 This webpage has a redirect loop ERR_TOO_MANY_REDIRECTS
body: <p>I'm working on a project on my local machine, and I use XAMPP for OSX</p>
  
  <p>I used to be able to go to <code>localhost/projects</code> earlier today, but I don't know why am I keep getting the redirect loop now. When I take a look at the <code>Networks</code> tab in Chrome, it's redirecting back and forth between <code>projects</code> and <code>projects/</code>. </p>
  
  <p>I've been trying to find redirect in my <code>ProjectsController</code>, but there's none. In fact, I'm using <code>Route::resource('projects', 'ProjectsController')</code>. Has anyone had this before? how do I solve it</p>
  
  <p>I even tried to simply return a string in my controller </p>
  
  <pre><code>class ProjectsController extends controller {
      public function index()
      {
          return "index";
          ...
      }
      ...
  }
  </code></pre>
  
  <p>Yet this still giving me redirect loop</p>
  
  <p>It gives me status code <code>301</code> if that helps</p>
  
  <p>Update ==
  Here's my <code>route:list</code>
  <img src="https://i.stack.imgur.com/akxME.png" alt="enter image description here"> </p>