Fixed RoleSeeder.php

This commit is contained in:
frederikpyt 2020-07-29 13:21:51 +02:00
parent 556c0e1ba2
commit ef8d1626ec
2 changed files with 3 additions and 4 deletions

View File

@ -11,7 +11,8 @@ class DatabaseSeeder extends Seeder
*/
public function run()
{
$this->call(PermissionSeeder::class);
$this->call(UserSeeder::class);
$this->call(PermissionSeeder::class);
$this->call(UserSeeder::class);
$this->call(RoleSeeder::class);
}
}

View File

@ -14,8 +14,6 @@ class RoleSeeder extends Seeder
$roles = [
"administrator" => "Admin",
"user" => "Userstuff",
];
foreach ($roles as $key => $value) {