routes.php 866 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Require The Filters File
  5. |--------------------------------------------------------------------------
  6. |
  7. | Next we will load the filters file for the application. This gives us
  8. | a nice separate location to store our route and application filter
  9. | definitions instead of putting them all in the main routes file.
  10. |
  11. */
  12. require __DIR__.'/filters.php';
  13. /*
  14. |--------------------------------------------------------------------------
  15. | Application Routes
  16. |--------------------------------------------------------------------------
  17. |
  18. | Here is where you can register all of the routes for an application.
  19. | It's a breeze. Simply tell Laravel the URIs it should respond to
  20. | then declare the method to execute when that URI is requested.
  21. |
  22. */
  23. Route::get('/', 'HomeController@index');