title: Route with parameter laravel 5.2
body: <p>I was descriped routes.php as </p>
  
  <pre><code>Route::get('/{id}', 'HomeController@index');
  </code></pre>
  
  <p>And I want to use HomeController without parameter too. How to do it?</p>
  
  <p><strong>Update:</strong>
  if url without parameter, I also want to use HomeController to display homepage, if url with parameter I want to display some data using controller.</p>