allow non routable bundles to just use string values.

This commit is contained in:
Taylor Otwell 2012-01-26 16:03:25 -06:00
parent 3a3c5ba561
commit da7d076f54
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@
foreach ($bundles as $key => $value)
{
$handles = array_get($value, 'handles');
$location = (is_array($value)) ? $value['location'] : $value;
Bundle::register($key, $value['location'], $handles);
Bundle::register($key, $location, array_get($value, 'handles'));
}