routes.php 1006 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Application Routes
  5. |--------------------------------------------------------------------------
  6. |
  7. | Here is where you can register all of the routes for an application.
  8. | It's a breeze. Simply tell Laravel the URIs it should respond to
  9. | and give it the Closure to execute when that URI is requested.
  10. |
  11. */
  12. $router->get('/', 'WelcomeController@index');
  13. $router->get('/home', 'HomeController@index');
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Authentication & Password Reset Controllers
  17. |--------------------------------------------------------------------------
  18. |
  19. | These two controllers handle the authentication of the users of your
  20. | application, as well as the functions necessary for resetting the
  21. | passwords for your users. You may modify or remove these files.
  22. |
  23. */
  24. $router->controllers([
  25. 'auth' => 'Auth\AuthController',
  26. 'password' => 'Auth\PasswordController',
  27. ]);