Fixed RoleSeeder.php
This commit is contained in:
parent
556c0e1ba2
commit
ef8d1626ec
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,8 +14,6 @@ class RoleSeeder extends Seeder
|
|||
$roles = [
|
||||
"administrator" => "Admin",
|
||||
"user" => "Userstuff",
|
||||
|
||||
|
||||
];
|
||||
|
||||
foreach ($roles as $key => $value) {
|
||||
|
|
Loading…
Reference in New Issue