title: Laravel routing with MAMP
body: <p>I don't know if I am doing something wrong but here is my situation. I have MAMP and I am learning Laravel following <a href="http://learninglaravel.net/laravel5/building-our-first-website" rel="nofollow">this</a>. I must write in URL <a href="http://localhost/basic-crud/public/" rel="nofollow">http://localhost/basic-crud/public/</a> to get to the home view. Here is my routes php</p>
  
  <pre><code>Route::get('/', function () {
      return view('home');
  });
  
  Route::get('/about', function () {
      return view('about');
  });
  
  Route::get('/contact', function () {
      return view('contact');
  });
  </code></pre>
  
  <p>How can I get <a href="http://localhost/basic-crud/" rel="nofollow">http://localhost/basic-crud/</a> route/link to my index page? Also when I click on About or Contact links on my home page they are broken because I get <a href="http://localhost/about" rel="nofollow">http://localhost/about</a> or <a href="http://localhost/contact" rel="nofollow">http://localhost/contact</a>. I hope I managed to explain my problem, any solutions?</p>