Skip to content

Commit 1d5e88d

Browse files
committed
update default routes file
1 parent e52b1f7 commit 1d5e88d

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

app/Http/routes.php

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,19 @@
22

33
/*
44
|--------------------------------------------------------------------------
5-
| Routes File
5+
| Application Routes
66
|--------------------------------------------------------------------------
77
|
8-
| Here is where you will register all of the routes in an application.
8+
| Here is where you can register all of the routes for an application.
99
| It's a breeze. Simply tell Laravel the URIs it should respond to
1010
| and give it the controller to call when that URI is requested.
1111
|
1212
*/
1313

14-
Route::get('/', function () {
15-
return view('welcome');
16-
});
14+
Route::group(['middleware' => ['web']], function () {
1715

18-
/*
19-
|--------------------------------------------------------------------------
20-
| Application Routes
21-
|--------------------------------------------------------------------------
22-
|
23-
| This route group applies the "web" middleware group to every route
24-
| it contains. The "web" middleware group is defined in your HTTP
25-
| kernel and includes session state, CSRF protection, and more.
26-
|
27-
*/
16+
Route::get('/', function () {
17+
return view('welcome');
18+
});
2819

29-
Route::group(['middleware' => ['web']], function () {
30-
//
3120
});

0 commit comments

Comments
 (0)