equal
deleted
inserted
replaced
|
1 <?php |
|
2 |
|
3 /* |
|
4 |-------------------------------------------------------------------------- |
|
5 | Application Routes |
|
6 |-------------------------------------------------------------------------- |
|
7 | |
|
8 | Here is where you can register all of the routes for an application. |
|
9 | It's a breeze. Simply tell Laravel the URIs it should respond to |
|
10 | and give it the controller to call when that URI is requested. |
|
11 | |
|
12 */ |
|
13 |
|
14 Route::get('/', 'WelcomeController@index'); |
|
15 |
|
16 Route::get('home', ['as' => 'index', 'uses' => 'HomeController@index']); |
|
17 Route::get('logout', ['as' => 'casLogout', 'uses' => 'HomeController@logout']); |