Provide default config name for Module::getConfig()

This commit is contained in:
Marius Hein 2015-05-21 14:40:52 +02:00
parent 47f21eebaa
commit 0002c0be26
1 changed files with 1 additions and 1 deletions

View File

@ -600,7 +600,7 @@ class Module
*
* @return Config
*/
public function getConfig($file = null)
public function getConfig($file = 'config')
{
return $this->app->getConfig()->module($this->name, $file);
}