rename autoloading method.
This commit is contained in:
parent
1ff9deb150
commit
4e9369f5bf
|
@ -69,7 +69,7 @@ public static function register($bundle, $config = array())
|
||||||
// way to register mappings withuot a bootstrap.
|
// way to register mappings withuot a bootstrap.
|
||||||
if (isset($config['autoloads']))
|
if (isset($config['autoloads']))
|
||||||
{
|
{
|
||||||
static::autoloading($bundle, $config);
|
static::autoloads($bundle, $config);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ public static function routes($bundle)
|
||||||
* @param array $config
|
* @param array $config
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected static function autoloading($bundle, $config)
|
protected static function autoloads($bundle, $config)
|
||||||
{
|
{
|
||||||
$path = trim(Bundle::path($bundle), DS);
|
$path = trim(Bundle::path($bundle), DS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue