Commit 3a03700f authored by Nicolas Widart's avatar Nicolas Widart

Fixing the module publish helper trait

parent 2436901f
......@@ -14,9 +14,10 @@ trait CanPublishConfiguration
if (app()->environment() === 'testing') {
return;
}
$this->mergeConfigFrom($this->getModuleConfigFilePath($module, $fileName), strtolower("asgard.$module.$fileName"));
$this->publishes([
$this->getModuleConfigFilePath($module, $fileName) => config_path(strtolower("asgard.$module.$fileName")),
$this->getModuleConfigFilePath($module, $fileName) => config_path(strtolower("asgard/$module/$fileName") . '.php'),
], 'config');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment