@@ -17,7 +17,8 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function handle($request, Closure $next, $guard = null) |
| 19 | 19 | { |
| 20 | - if(Auth::guard($guard)->check()) { |
|
| 20 | + if(Auth::guard($guard)->check()) |
|
| 21 | + { |
|
| 21 | 22 | return redirect('/dashboard'); |
| 22 | 23 | } |
| 23 | 24 | |
@@ -14,8 +14,7 @@ |
||
| 14 | 14 | public function run() |
| 15 | 15 | { |
| 16 | 16 | // Create the test users |
| 17 | - factory(App\User::class, 15)->create()->each(function($user) |
|
| 18 | - { |
|
| 17 | + factory(App\User::class, 15)->create()->each(function($user) { |
|
| 19 | 18 | $user->UserPermissions()->save(factory(App\UserPermissions::class)->make()); |
| 20 | 19 | }); |
| 21 | 20 | } |
@@ -89,7 +89,8 @@ |
||
| 89 | 89 | Schema::dropIfExists('file_link_instructions'); |
| 90 | 90 | } |
| 91 | 91 | // Add "notes" column to the file link files table |
| 92 | - if (!Schema::hasColumn('file_link_files', 'note')) { |
|
| 92 | + if (!Schema::hasColumn('file_link_files', 'note')) |
|
| 93 | + { |
|
| 93 | 94 | Schema::table('file_link_files', function (Blueprint $table) { |
| 94 | 95 | $table->longText('note') |
| 95 | 96 | ->nullable() |