Skip to content

Commit 2567af2

Browse files
committed
Fix bug in config merging
1 parent 0f78ac6 commit 2567af2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/FilamentFlexibleContentBlockPagesServiceProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ public function packageBooted()
5353
// add morph map
5454
Relation::morphMap(\Statikbe\FilamentFlexibleContentBlockPages\Facades\FilamentFlexibleContentBlockPages::config()->getMorphMap());
5555

56-
$this->mergeConfigFrom(__DIR__.'/../config/'.$this->package->name.'.php', $this->package->name);
56+
$configName = $this->package->shortName();
57+
$this->mergeConfigFrom(__DIR__.'/../config/'.$configName.'.php', $configName);
5758

5859
FilamentFlexibleContentBlocks::setLocales(LaravelLocalization::getSupportedLanguagesKeys());
5960
}

0 commit comments

Comments
 (0)