title: How to route to a static folder in Laravel
body: <p>I have a folder I've placed in the /public folder in my Laravel site. The path is:</p>
  
  <pre><code>/public/test
  </code></pre>
  
  <p>the "test" folder has a file called index.html that is just a static resource I want to load from the public folder (I don't want to create a view for this within the framework--too much to explain).</p>
  
  <p>I've made a route like this:</p>
  
  <pre><code>Route::get('/test', function() {
    return File::get(public_path() . '/test/index.html');
  });
  </code></pre>
  
  <p>I'm not able to get this to work. I just get an error from Chrome saying this page has a redirect loop.</p>
  
  <p>I can access it this way:</p>
  
  <pre><code>http://www.example.com/test/index.html
  </code></pre>
  
  <p>But I can't use the .html extension anywhere. The file must be visible as:</p>
  
  <pre><code>http://www.example.com/test/
  </code></pre>
  
  <p>How can I serve a single HTML page from the Laravel public folder without having to use the .html extension?</p>