Fix module provider sub

This commit is contained in:
Nabeel Shahzad
2018-02-25 11:12:01 -06:00
parent 3bbcd2a20d
commit 44f839e104

View File

@@ -102,7 +102,7 @@ class $CLASS$ extends ServiceProvider
{
$this->publishes([
__DIR__.'/../$PATH_CONFIG$/config.php' => config_path('$LOWER_NAME$.php'),
], 'config');
], '$LOWER_NAME$');
$this->mergeConfigFrom(
__DIR__.'/../$PATH_CONFIG$/config.php', '$LOWER_NAME$'