Completed
Push — master ( 4a0e29...ecc0af )
by Sergi Tur
29:11
created
src/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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
     Route::auth();
10 10
 
11 11
     Route::get('/home', 'HomeController@index');
Please login to merge, or discard this patch.
routes/api.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-Route::get('/user', function (Request $request) {
16
+Route::get('/user', function(Request $request) {
17 17
     return $request->user();
18 18
 })->middleware('auth:api');
19 19
 
20
-Route::group(['prefix' => 'v1','middleware' => 'auth:api'], function () {
20
+Route::group([ 'prefix' => 'v1', 'middleware' => 'auth:api' ], function() {
21 21
     //    Route::resource('task', 'TasksController');
22 22
 
23 23
     //Please do not remove this if you want adminlte:route and adminlte:link commands to works correctly.
Please login to merge, or discard this patch.
routes/web.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
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' => 'auth'], function () {
18
+Route::group([ 'middleware' => 'auth' ], function() {
19 19
     //    Route::get('/link1', function ()    {
20 20
 //        // Uses Auth Middleware
21 21
 //    });
Please login to merge, or discard this patch.