diff --git a/src/Pingpong/Admin/Seeders/PermissionsTableSeeder.php b/src/Pingpong/Admin/Seeders/PermissionsTableSeeder.php index 499e7a2..37d5a1d 100644 --- a/src/Pingpong/Admin/Seeders/PermissionsTableSeeder.php +++ b/src/Pingpong/Admin/Seeders/PermissionsTableSeeder.php @@ -27,7 +27,7 @@ public function run() ]); } - $permissions = Permission::lists('id'); + $permissions = Permission::lists('id')->toArray(); Role::find(1)->permissions()->attach($permissions); }