Changing default routing setup.
This commit is contained in:
30
app/Http/routes.php
Normal file
30
app/Http/routes.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register all of the routes for an application.
|
||||
| It's a breeze. Simply tell Laravel the URIs it should respond to
|
||||
| and give it the Closure to execute when that URI is requested.
|
||||
|
|
||||
*/
|
||||
|
||||
$router->get('/', 'HomeController@index');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication & Password Reset Controllers
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| These two controllers handle the authentication of the users of your
|
||||
| application, as well as the functions necessary for resetting the
|
||||
| passwords for your users. You may modify or remove these files
|
||||
| if you wish. They just give you a convenient starting point.
|
||||
|
|
||||
*/
|
||||
|
||||
$router->controller('auth', 'AuthController');
|
||||
|
||||
$router->controller('password', 'PasswordController');
|
||||
Reference in New Issue
Block a user