@@ -11,11 +11,11 @@ |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -Route::get('/', function () { |
|
14 | +Route::get('/', function() { |
|
15 | 15 | return view('welcome'); |
16 | 16 | }); |
17 | 17 | |
18 | -Route::group(['middleware' => 'web'], function () { |
|
18 | +Route::group([ 'middleware' => 'web' ], function() { |
|
19 | 19 | |
20 | 20 | |
21 | 21 | //Please do not remove this if you want adminlte:route and adminlte:link commands to works correctly. |
@@ -6,8 +6,8 @@ |
||
6 | 6 | * RouteServiceProvider |
7 | 7 | */ |
8 | 8 | Route::group(['middleware' => 'web'], function () { |
9 | - if (config('adminlte.auth_route', true)) |
|
10 | - Route::auth(); |
|
9 | + if (config('adminlte.auth_route', true)) |
|
10 | + Route::auth(); |
|
11 | 11 | |
12 | 12 | Route::get('/home', 'HomeController@index'); |
13 | 13 | }); |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * but take into account we have to add 'web' middleware group here because Laravel by defaults add this middleware in |
6 | 6 | * RouteServiceProvider |
7 | 7 | */ |
8 | -Route::group(['middleware' => 'web'], function () { |
|
8 | +Route::group([ 'middleware' => 'web' ], function() { |
|
9 | 9 | if (config('adminlte.auth_route', true)) |
10 | 10 | Route::auth(); |
11 | 11 |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * RouteServiceProvider |
7 | 7 | */ |
8 | 8 | Route::group(['middleware' => 'web'], function () { |
9 | - if (config('adminlte.auth_route', true)) |
|
10 | - Route::auth(); |
|
9 | + if (config('adminlte.auth_route', true)) { |
|
10 | + Route::auth(); |
|
11 | + } |
|
11 | 12 | |
12 | 13 | Route::get('/home', 'HomeController@index'); |
13 | 14 | }); |