routes.php 955 B

1234567891011121314151617181920212223242526272829
  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('/', 'HomeController@index');
  13. /*
  14. |--------------------------------------------------------------------------
  15. | Authentication & Password Reset Controllers
  16. |--------------------------------------------------------------------------
  17. |
  18. | These two controllers handle the authentication of the users of your
  19. | application, as well as the functions necessary for resetting the
  20. | passwords for your users. You may modify or remove these files.
  21. |
  22. */
  23. $router->controller('auth', 'AuthController');
  24. $router->controller('password', 'PasswordController');