Fix bad var name for components
This commit is contained in:
@@ -15,20 +15,18 @@ class ComponentTableSeeder extends Seeder {
|
||||
[
|
||||
"name" => "API",
|
||||
"description" => "Used by third-parties to connect to us"
|
||||
],
|
||||
[
|
||||
], [
|
||||
"name" => "Payments",
|
||||
"description" => "Backed by Stripe"
|
||||
],
|
||||
[
|
||||
], [
|
||||
"name" => "Website"
|
||||
]
|
||||
];
|
||||
|
||||
Component::truncate();
|
||||
|
||||
foreach($defaultComponents as $setting) {
|
||||
Component::create($setting);
|
||||
foreach($defaultComponents as $component) {
|
||||
Component::create($component);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user