routes.php 591 B

123456789101112131415161718192021
  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 controller to call when that URI is requested.
  10. |
  11. */
  12. Route::get('/', 'WelcomeController@index');
  13. Route::get('home', 'HomeController@index');
  14. Route::controllers([
  15. 'auth' => 'Auth\AuthController',
  16. 'password' => 'Auth\PasswordController',
  17. ]);