Skip to content

Commit c8ba8d2

Browse files
committed
pull app.name from laravel-bootstrap package
Update to actual pull app.name from app/config/packages/davzie/laravel-bootstrap/app.php
1 parent 2f7053a commit c8ba8d2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Davzie/LaravelBootstrap/Seeds/ExampleSettingsSeeder.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
namespace Davzie\LaravelBootstrap\Seeds;
33
use Illuminate\Database\Seeder;
44
use Illuminate\Support\Facades\DB;
5+
use Illuminate\Support\Facades\Config;
56

67
class ExampleSettingsSeeder extends Seeder {
78

@@ -12,12 +13,12 @@ public function run()
1213
[
1314
'key' => 'application_name',
1415
'label' => 'Application Name',
15-
'value' => 'Laravel Bootstrap'
16+
'value' => Config::get('laravel-bootstrap::app.name')
1617
]
1718
];
1819
DB::table('settings')->insert($types);
1920
$this->command->info('Settings Table Seeded With An Example Record');
2021

2122
}
2223

23-
}
24+
}

0 commit comments

Comments
 (0)